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
The text was updated successfully, but these errors were encountered:
royaltm
changed the title
wrong return value in BaseDocument#_getHookPromises (array of arrays of promise instead of array of promise)
wrong return value from BaseDocument#_getHookPromises (array of arrays of promise instead of array of promise)
Feb 29, 2016
Long story short: this really ruined my night:
camo/lib/base-document.js
Line 541 in b2bd984
The typeless at its worst...
this will push an array with (a possible) promise into an array
resulting in
[[promise]]
instead of[promise]
and this is bad, because
Promise.all([[promise]])
immediately succeeds.So any error in ANY of this document hook's promise will be (possible silently) discarded!
why just not
or at least:
The text was updated successfully, but these errors were encountered: