Skip to content
This repository was archived by the owner on Jan 11, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions php/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public static function onError($code, $message, $file, $line, $context)
/**
* Display uncaught exception in JSON.
*
* @param \Exception $exception
* @param \Throwable $exception
*/
public static function onException(\Exception $exception)
public static function onException(\Throwable $exception)
{
die(
json_encode(
Expand Down