Skip to content

Commit 91fa8d4

Browse files
authored
Merge pull request #17 from CRRaD/patch-1
Update ApiException.php
2 parents 86aa2a8 + 51815b8 commit 91fa8d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function toArray()
8282
}
8383

8484
if (env('APP_DEBUG') && $this instanceof ShowsTrace) {
85-
$return['trace'] = \Symfony\Component\ErrorHandler\Exception\FlattenException::create($e)->getTrace();
85+
$return['trace'] = \Symfony\Component\ErrorHandler\Exception\FlattenException::createFromThrowable($e)->getTrace();
8686
}
8787

8888
return $return;

0 commit comments

Comments
 (0)