Skip to content

Commit

Permalink
Show traces for non-fatal ErrorExceptions, close #562, #524
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-sokolov committed Jun 21, 2019
1 parent 114a8f0 commit 51c2de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Whoops/Exception/Inspector.php
Expand Up @@ -252,7 +252,7 @@ protected function getTrace($e)
}

if (!extension_loaded('xdebug') || !xdebug_is_enabled()) {
return [];
return $traces;
}

// Use xdebug to get the full stack trace and remove the shutdown handler stack trace
Expand Down

0 comments on commit 51c2de8

Please sign in to comment.