Skip to content

Instantly share code, notes, and snippets.

@jozefcipa
Last active November 9, 2017 16:41
Show Gist options
  • Save jozefcipa/498e2041bd72d3cd0968cbcfff850e4e to your computer and use it in GitHub Desktop.
Save jozefcipa/498e2041bd72d3cd0968cbcfff850e4e to your computer and use it in GitHub Desktop.
try {
// ...
} catch(Exception $e) {
// explicitly report an exception
// in Laravel < 5.5
app(\App\Exceptions\Handler::class)->report($e);
// since Laravel 5.5 is available new helper
report($e);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment