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.
2 parents 7bf72e5 + d77da7e commit 625b9eeCopy full SHA for 625b9ee
app/Http/Controllers/WorkflowsController.php
@@ -51,14 +51,17 @@ public function show($id) {
51
$file->next();
52
if ($file->eof()) break;
53
}
54
- $exception->code = rtrim($exception->code);
55
- $unserialized->trace = $unserialized->getTrace();
+ $exception->code = rtrim($exception->code);
+ try {
56
+ $unserialized->trace = $unserialized->getTrace();
57
+ } catch (\Throwable $th) {
58
+ }
59
60
$exception->exception = serialize($unserialized);
61
return $exception;
62
});
63
- $flow->output = serialize(Y::unserialize($flow->output));
64
+ $flow->output = $flow->output === null ? serialize(null) : serialize(Y::unserialize($flow->output));
65
66
return $flow;
67
0 commit comments