mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Added Sentry event filtering for 500 errors
This commit is contained in:
@@ -46,7 +46,8 @@ export async function initSentry(app) {
|
|||||||
if (error && typeof error.message === 'string') {
|
if (error && typeof error.message === 'string') {
|
||||||
if (
|
if (
|
||||||
error.message.includes('403') ||
|
error.message.includes('403') ||
|
||||||
error.message.includes('404')
|
error.message.includes('404') ||
|
||||||
|
error.message.includes('500')
|
||||||
) {
|
) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user