Skip to content

Commit

Permalink
Merge pull request #5324 from novuhq/nv-3421-warnings-in-the-console
Browse files Browse the repository at this point in the history
fix: console warning controlled to uncontrolled component
  • Loading branch information
ainouzgali authored Apr 7, 2024
2 parents 69e371a + 008d0dc commit 8851a1e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .source
9 changes: 8 additions & 1 deletion apps/web/src/initializeApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@ export const initializeApp = () => {
}),
],
environment: ENV,

ignoreErrors: [
'Network Error',
'network error (Error)',
'ResizeObserver loop limit exceeded',
'ResizeObserver loop completed with undelivered notifications',
'Non-Error exception captured',
'Non-Error promise rejection captured',
],
/*
* This sets the sample rate to be 10%. You may want this to be 100% while
* in development and sample at a lower rate in production
Expand Down

0 comments on commit 8851a1e

Please sign in to comment.