You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal is to make it easier to detect errors on the frontend and have enough data to investigate the issue
Some fields to send that are going to be useful:
Error stacktrace: error.stack available when error is an Error object
Browser: navigator.userAgent
Current page: window.location.href
User role if available: useAuthContext().authInfo?.role
Where to detect errors?
Put a script tag in the head of the document and subscribe to window.onerrormore on this here. The backend url can be interpolated into the script at build by Vite
Add error reporting to the ErrorBoundary component
The text was updated successfully, but these errors were encountered:
The goal is to make it easier to detect errors on the frontend and have enough data to investigate the issue
Some fields to send that are going to be useful:
error.stack
available whenerror
is an Error objectnavigator.userAgent
window.location.href
useAuthContext().authInfo?.role
Where to detect errors?
head
of the document and subscribe towindow.onerror
more on this here. The backend url can be interpolated into the script at build by ViteErrorBoundary
componentThe text was updated successfully, but these errors were encountered: