show infinite stack trace in development

This commit is contained in:
Tyler Renelle 2013-02-26 12:10:23 -05:00
parent 06da720dfb
commit 7c480124cf

View file

@ -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()