We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9975034 commit cb0d0baCopy full SHA for cb0d0ba
src/Controllers/UploadController.php
@@ -41,6 +41,13 @@ public function upload()
41
'trace' => $e->getTraceAsString()
42
]);
43
array_push($error_bag, $e->getMessage());
44
+ } catch (\Error $e) {
45
+ Log::error($e->getMessage(), [
46
+ 'file' => $e->getFile(),
47
+ 'line' => $e->getLine(),
48
+ 'trace' => $e->getTraceAsString()
49
+ ]);
50
+ array_push($error_bag, 'Some error occured during uploading.');
51
}
52
53
0 commit comments