We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4907801 + df44229 commit a384aaeCopy full SHA for a384aae
plugins/angular.js
@@ -22,6 +22,10 @@ function ngRavenExceptionHandler(RavenConfig, $delegate) {
22
if (!RavenConfig)
23
throw new Error('RavenConfig must be set before using this');
24
25
+ if (RavenConfig.debug !== void 0) {
26
+ Raven.debug = RavenConfig.debug;
27
+ }
28
+
29
Raven.config(RavenConfig.dsn, RavenConfig.config).install();
30
return function angularExceptionHandler(ex, cause) {
31
$delegate(ex, cause);
0 commit comments