Skip to content

Commit

Permalink
Extend logging of proceedToAfterExecSpinlocks
Browse files Browse the repository at this point in the history
Ties in with balderdashy/sails#4502 and balderdashy/sails#4400

While @mikermcneil has valid points that we *should* be using async/await, there are times when callbacks are still used and the message/trace inside `errCbArg` would otherwise be lost.
  • Loading branch information
wulfsolter authored Feb 15, 2019
1 parent bf09a3a commit e345db6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/private/Deferred.js
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,10 @@ function proceedToAfterExecSpinlocks (errCbArg, resultCbArg, extraCbArgs, self,
'```\n'+
flaverr.getBareTrace(self._omen)+'\n'+
'```\n'+
'And here is errCbArg:\n'+
'```\n'+
errCbArg+
'```\n'+
'\n'
):'')+
' [?] For more help, visit https://sailsjs.com/support\n'+
Expand Down

0 comments on commit e345db6

Please sign in to comment.