Exceptions Management

{warning} By default every unhandled exception fired in your Laravel app will be reported automatically to be sure you'll be alerted for unpredictable errors in real time.

Inspector allows you to report an exception manually if you want be aware of it, but you don't want to block the execution of your code:

use Inspector\Laravel\Facades\Inspector;

try {

    // Your dangerous code...

} catch(LogicException $exception) {
    // Report an exception intentionally to collect diagnostics data

If something goes wrong in your code you will be alerted in real time in your inbox and the exception will be monitored for all subsequent occurrences.

{info} Consider the opportunity to add directly a new segment in your timeline keeping real-time feedback if something goes wrong. Go to Segments section.

Exception Monitoring

When an exception is detected you can monitor its occurrences frequency in your dashboard in real time.

Exception details

After you've clicked on an error, you'll see the code source generated by the stacktrace to understand what's happening as soon as possible with transactions details and more.