We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c231ac1 + 10cf497 commit efbcd9dCopy full SHA for efbcd9d
bin/server.php
@@ -11,7 +11,7 @@
11
$app->handle() // Process the request and create the response
12
->send(); // Send the response to the client
13
} catch (Throwable $exception) {
14
- \Hyde\RealtimeCompiler\Http\ExceptionHandler::handle($exception);
+ \Hyde\RealtimeCompiler\Http\ExceptionHandler::handle($exception)->send();
15
exit($exception->getCode());
16
}
17
} catch (\Throwable $th) {
src/Http/ExceptionHandler.php
@@ -24,6 +24,6 @@ public static function handle(\Throwable $exception): Response
24
'Content-Type' => 'text/html',
25
'Content-Length' => strlen($html),
26
'body' => $html,
27
- ])->send();
+ ]);
28
29
0 commit comments