Closed
Description
I am getting the following error in raven.js. I have a hard time debugging it. Any ideas what it triggers?
Raven.js 1.1.20 (568d778)
Uncaught TypeError: Q.includePaths.test is not a function
p @ raven.js:1644
(anonymous function) @ raven.js:1603
m @ raven.js:1583
o @ raven.js:1602
X.captureException @ raven.js:1332
t.default.onerror @ myapp.js:3
…
Code around line 1644
normalized.in_app = !( // determine if an exception came from outside of our app
// first we check the global includePaths list.
!globalOptions.includePaths.test(normalized.filename) ||
// Now we check for fun, if the function name is Raven or TraceKit
/(Raven|TraceKit)\./.test(normalized['function']) ||
// finally, we do a last ditch effort and check for raven.min.js
/raven\.(min\.)?js$/.test(normalized.filename)
);
Metadata
Metadata
Assignees
Labels
No labels