You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing countById() function at logic/transfer module, I've noticed that if self.scope.db.one() returns a reject Promise, the code fail when try to call to...
this.scope.logger.error(err.stack);
because the "this" inside the "catch()" clause has not access to the scope.
The text was updated successfully, but these errors were encountered:
jarenal
changed the title
logic/transfer: Wrong use of this context on countById() function
logic/transaction: Wrong use of this context on countById() function
Nov 2, 2017
Testing countById() function at logic/transfer module, I've noticed that if self.scope.db.one() returns a reject Promise, the code fail when try to call to...
this.scope.logger.error(err.stack);
because the "this" inside the "catch()" clause has not access to the scope.
The text was updated successfully, but these errors were encountered: