We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 86aa2a8 + 51815b8 commit 91fa8d4Copy full SHA for 91fa8d4
src/ApiException.php
@@ -82,7 +82,7 @@ public function toArray()
82
}
83
84
if (env('APP_DEBUG') && $this instanceof ShowsTrace) {
85
- $return['trace'] = \Symfony\Component\ErrorHandler\Exception\FlattenException::create($e)->getTrace();
+ $return['trace'] = \Symfony\Component\ErrorHandler\Exception\FlattenException::createFromThrowable($e)->getTrace();
86
87
88
return $return;
0 commit comments