Skip to content

Commit 173ae2c

Browse files
committed
Default debug to true
1 parent e26be0c commit 173ae2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/raven.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var _Raven = window.Raven,
3131
var Raven = {
3232
VERSION: '<%= pkg.version %>',
3333

34-
debug: false,
34+
debug: true,
3535

3636
/*
3737
* Allow multiple versions of Raven to be installed.

test/raven.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,14 @@ describe('globals', function() {
225225
it('should not write to console.error when Raven is not configured and Raven.debug is false', function() {
226226
hasJSON = true; // be explicit
227227
globalServer = undefined;
228+
Raven.debug = false;
228229
this.sinon.stub(console, 'error');
229230
isSetup();
230231
assert.isFalse(console.error.calledOnce);
231232
});
232233

233234
it('should write to console.error when Raven is not configured and Raven.debug is true', function() {
234235
hasJSON = true; // be explicit
235-
Raven.debug = true;
236236
globalServer = undefined;
237237
this.sinon.stub(console, 'error');
238238
isSetup();

0 commit comments

Comments
 (0)