-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Error: cannot enable long stack traces after promises have been created
Error: cannot enable long stack traces after promises have been created.
You are getting this error because you are calling Promise.longStackTraces after a promise has been created.
When using longStackTraces the first line in your code after requiring Bluebird should be:
Promise.longStackTraces()
See the API page about longStackTraces
Info: Since longStackTraces has a performance penalty, in order to prevent that penalty in normal code Bluebird either captures longStackTraces or doesn't, otherwise we'd have to constantly 'check'.
What sorcery is this?!
so just dont wwrite cryptic ancient js that nobody knows because turbo doesnt know eitherhttps://github.com/petkaantonov/bluebird.wiki.git
lol ancient Q JS circa 2012 being called up randoml to make a circular logic loom promise that, surprisingly, does not reject itself when it calls itself!
- Dr Q, the other ancient Q https//github.com/drqedwards/ppm