diff --git a/src/Exceptions/Handlers/ExceptionHandler.php b/src/Exceptions/Handlers/ExceptionHandler.php
index <HASH>..<HASH> 100644
--- a/src/Exceptions/Handlers/ExceptionHandler.php
+++ b/src/Exceptions/Handlers/ExceptionHandler.php
@@ -86,6 +86,10 @@ abstract class ExceptionHandler
 
         // Make sure we handle fatal errors too.
         register_shutdown_function(function () use ($exceptionHandler) {
+            if (!self::$exceptionTrappingOn) {
+                return;
+            }
+
             $error = error_get_last();
 
             if ($error != null) {
Disabled shutdown function execution if exception trapping is turned off