Files
dimmur-brw dc0a7b1b20 fix: filter browser-extension "Object Not Found" Sentry noise (#5843)
* fix: filter browser-extension "Object Not Found" rejection noise in Sentry

* Review feedback
2026-08-12 11:28:41 +02:00

12 lines
504 B
JavaScript

// API error codes to silence in Sentry, keyed by HTTP status code.
// These are handled by the application (e.g. forceLogoff) and are not bugs.
export const SILENCED_API_ERRORS = {
401: ['ERROR_INVALID_ACCESS_TOKEN', 'ERROR_INVALID_REFRESH_TOKEN'],
}
// Browser-extension RPC artifact that rejects a promise when its internal
// object registry can't resolve an id. Not a Baserow error.
export const SILENCED_ERROR_PATTERNS = [
/Object Not Found Matching Id:\d+, MethodName:\w+, ParamCount:\d+/,
]