- Removed E_STRICT error type, added some more content to skeleton and removed 'methods' of route attributes (replaced with 'method')
This commit is contained in:
1 parent
6b1be4d245
commit
347e3c3b6c
6 files changed
+38
-14
No files matched your search
@@ -8,5 +8,7 @@ try {
|
||||
new class($projectPath) extends %NAMESPACE%\Kernel {};
|
||||
}
|
||||
catch(\Throwable $t) {
|
||||
echo sprintf("%s in <strong>%s</strong> <pre>%s</pre>", $t->getMessage(), $t->getFile() . ":" . $t->getLine(), $t->getTraceAsString());
|
||||
echo sprintf("%s in <strong>%s</strong> <pre>%s</pre>", $t->getMessage(), $t->getFile() . ":" . $t->getLine(), getenv('DEBUG') ? $t->getTraceAsString() : "");
|
||||
error_log($t->getMessage());
|
||||
header("HTTP/1.1 500 Internal Server Error");
|
||||
}
|
||||
Reference in new issue
Block a user