diff --git a/lib/client.js b/lib/client.js index 1e069d6..ea40a35 100644 --- a/lib/client.js +++ b/lib/client.js @@ -182,7 +182,7 @@ extend(Raven.prototype, { var shouldSend = true; if (!this._enabled) shouldSend = false; - if (this.shouldSendCallback && !this.shouldSendCallback()) shouldSend = false; + if (this.shouldSendCallback && !this.shouldSendCallback(kwargs)) shouldSend = false; if (shouldSend) { this.send(kwargs, cb);