Skip to content

Commit dc2c0d8

Browse files
jeffwhelpleyLewisJEllis
authored andcommitted
sending kwargs into shouldSendCallback() (#251)
1 parent 7b101cb commit dc2c0d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ extend(Raven.prototype, {
182182

183183
var shouldSend = true;
184184
if (!this._enabled) shouldSend = false;
185-
if (this.shouldSendCallback && !this.shouldSendCallback()) shouldSend = false;
185+
if (this.shouldSendCallback && !this.shouldSendCallback(kwargs)) shouldSend = false;
186186

187187
if (shouldSend) {
188188
this.send(kwargs, cb);

0 commit comments

Comments
 (0)