path deployments

This commit is contained in:
Andras Bacsai
2023-05-16 15:27:47 +02:00
parent 28cf89627d
commit 8651d02651
5 changed files with 17 additions and 8 deletions

View File

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