Merge pull request #69 from sebastianneb/68-debug

Fix for issue #68 by using self._log_debug instead of this._log.debug
This commit is contained in:
Nicolas Dextraze
2019-02-19 08:26:20 -08:00
committed by GitHub

View File

@ -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;
});