File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,8 @@ var Raven = {
76
76
77
77
// "Script error." is hard coded into browsers for errors that it can't read.
78
78
// this is the result of a script being pulled in from an external domain and CORS.
79
- globalOptions . ignoreErrors . push ( / ^ S c r i p t e r r o r .$ / ) ;
80
- globalOptions . ignoreErrors . push ( / ^ S c r i p t e r r o r $ / ) ;
81
- globalOptions . ignoreErrors . push ( / ^ J a v a s c r i p t e r r o r : S c r i p t e r r o r o n l i n e 0 $ / ) ;
82
- globalOptions . ignoreErrors . push ( / ^ J a v a s c r i p t e r r o r : S c r i p t e r r o r . o n l i n e 0 $ / ) ;
79
+ globalOptions . ignoreErrors . push ( / ^ S c r i p t e r r o r \. ? $ / ) ;
80
+ globalOptions . ignoreErrors . push ( / ^ J a v a s c r i p t e r r o r : S c r i p t e r r o r \. ? o n l i n e 0 $ / ) ;
83
81
84
82
// join regexp rules into one big rule
85
83
globalOptions . ignoreErrors = joinRegExp ( globalOptions . ignoreErrors ) ;
You can’t perform that action at this time.
0 commit comments