From 20818869f1535f3b97a9f2966307bf4a9165d0a3 Mon Sep 17 00:00:00 2001 From: "Neb, Sebastian" Date: Tue, 19 Feb 2019 09:55:49 +0100 Subject: [PATCH] Fix for issue #68 by using self._log_debug instead of this._log.debug --- src/eventStorePersistentSubscriptionBase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eventStorePersistentSubscriptionBase.js b/src/eventStorePersistentSubscriptionBase.js index 90eb6b5..9d09eb1 100644 --- a/src/eventStorePersistentSubscriptionBase.js +++ b/src/eventStorePersistentSubscriptionBase.js @@ -38,7 +38,7 @@ EventStorePersistentSubscriptionBase.prototype.start = function() { return this._startSubscription(this._subscriptionId, this._streamId, this._bufferSize, this._userCredentials, this._onEventAppeared.bind(this), this._onSubscriptionDropped.bind(this), this._settings) .then(function(subscription) { - this._log.debug('Subscription started.'); + self._log.debug('Subscription started.'); self._subscription = subscription; return self; });