diff --git a/system/CodeIgniter.php b/system/CodeIgniter.php
index <HASH>..<HASH> 100644
--- a/system/CodeIgniter.php
+++ b/system/CodeIgniter.php
@@ -316,6 +316,11 @@ class CodeIgniter
             return;
         }
 
+        // spark command has nothing to do with HTTP redirect and 404
+        if (defined('SPARKED')) {
+            return $this->handleRequest($routes, $cacheConfig, $returnResponse);
+        }
+
         try {
             return $this->handleRequest($routes, $cacheConfig, $returnResponse);
         } catch (RedirectException $e) {
fix: spark does not show Exception