Turn off long stack traces

36 views
Skip to first unread message

Lu Dean

unread,
Aug 29, 2017, 4:26:59 AM8/29/17
to bluebird
Morning!

I have asked this over on stack overflow but haven't had a response yet so I thought I would try here as well.

How do you turn off long stack traces in bluebird?


I have:

  • * added BLUEBIRD_DEBUG : "0"; BLUEBIRD_LONG_STACK_TRACES : "0" and BLUEBIRD_WARNINGS : "0" as environmental variables when the code is run
  • * added Promise.config({ longStackTraces: false}) just after i have required bluebird

Is there something else I should be doing?


The reason I want to turn this off is that I keep getting the "cannot enable long stack traces after promises have been created " error message.


Cheers, 


Lu

Reply all
Reply to author
Forward
0 new messages