mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 15:31:16 +00:00
show infinite stack trace in development
This commit is contained in:
parent
06da720dfb
commit
7c480124cf
1 changed files with 3 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ racer.set('bundleTimeout', 40000)
|
|||
# racer.use(racer.logPlugin)
|
||||
# derby.use(derby.logPlugin)
|
||||
|
||||
# Infinite stack trace
|
||||
Error.stackTraceLimit = Infinity if process.env.NODE_ENV is 'development'
|
||||
|
||||
## SERVER CONFIGURATION ##
|
||||
|
||||
expressApp = express()
|
||||
|
|
|
|||
Loading…
Reference in a new issue