This commit is contained in:
Andras Bacsai committed 2023-05-15 14:54:03 +02:00
1 parent c47b0ddcc1
commit bdd4a24567
8 files changed
+38 -37

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ if (!function_exists('generalErrorHandler')) {
}
} catch (\Throwable $error) {
if ($that) {
$that->emit('error', $error);
$that->emit('error', $error->getMessage());
} elseif ($isJson) {
return response()->json([
'code' => $error->getCode(),