Skip to content

Commit

Permalink
Expand abbreviated variable
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 15, 2024
1 parent 70778fc commit 2a6ba74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/server.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
} catch (Throwable $exception) {
\Hyde\RealtimeCompiler\Http\ExceptionHandler::handle($exception)->send();
}
} catch (\Throwable $th) {
} catch (\Throwable $throwable) {
// Auxiliary exception handler
echo '<h1>Something went really wrong!</h1>';
echo '<p>An error occurred that the core exception handler failed to process. Here\'s all we know:</p>';
echo '<h2>Initial exception:</h2><pre>'.print_r($exception ?? null, true).'</pre>';
echo '<h2>Auxiliary exception:</h2><pre>'.print_r($th, true).'</pre>';
echo '<h2>Auxiliary exception:</h2><pre>'.print_r($throwable, true).'</pre>';
} finally {
if (getenv('HYDE_SERVER_REQUEST_OUTPUT')) {
// Write to console to emulate the standard built-in PHP server output
Expand Down

0 comments on commit 2a6ba74

Please sign in to comment.