Linking to errors
When an error occurs in web request, your application will likely display a minimal error page when it's in production.
If a user sees this page and wants to report this error to you, the user usually only reports the URL and the time the error was seen.
To let your users pinpoint the exact error they saw, you can display the UUID of the error sent to Flare.
You can do this by displaying the UUID returned by Flare::sentReports()->latestUuid()
in your view. Optionally, you can use Flare::sentReports()->latestUrl()
to get a link to the error in Flare. That link isn't publicly accessible, it is only visible to Flare users that have access to the project on Flare.
In certain cases, multiple error can be reported to Flare in a single request. To get a hold of the UUIDs of all sent errors, you can call Flare::sentReports()->uuids()
. You can get links to all sent errors with Flare::sentReports()->urls()
.
It is possible to search for certain errors in Flare using the UUID, you can find more information about that here.