Exception Monitoring
Laravel error tracking
Inspector allows you to report an exception manually if you want to be aware of it, but you don't want to block the execution of your code:
try {
// Your code statements here...
} catch(LogicException $exception) {
// Report an exception intentionally to collect diagnostics data
inspector()->reportException($exception);
}
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.
Exception monitoring
When an exception is detected you can read the code inside the stacktrace, and monitor its occurrences frequency for a better investigation:

Activate the AI Bug Fix to receive code change proposals for faster resolution: https://docs.inspector.dev/concepts/ai-bug-fixer
Last updated