Last active
November 9, 2017 16:41
-
-
Save jozefcipa/498e2041bd72d3cd0968cbcfff850e4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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