-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Sentry Error Filtering (#772)
* fix: miniflare from errors from users should be ignored by Sentry
- Loading branch information
1 parent
85b0c31
commit a852e32
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
fix: We want to prevent any user created code from sending Events to Sentry, | ||
which can be captured by `uncaughtExceptionMonitor` listener. | ||
Miniflare code can run user code on the same process as Wrangler, | ||
so we want to return `null` if `@miniflare` is present in the Event frames. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters