refactor(autoload): remove global exception handler

This commit is contained in:
kj
2026-09-07 17:34:58 -03:00
parent 86ab8b979a
commit 70b1016194

View File

@@ -12,8 +12,3 @@ spl_autoload_register(function ($className) {
require_once $file;
}
});
set_exception_handler(function ($exception) {
echo "Uncaught exception: " , $exception->getMessage(), "\n";
echo $exception->getTraceAsString();
});