Truncate error stack traces to 10 lines

This commit is contained in:
James Allen 2014-11-25 09:17:26 +00:00
parent 7a9f7f0870
commit 99ac814c7d

View file

@ -63,4 +63,7 @@ host = Settings.internal.realTime.host
server.listen port, host, (error) ->
throw error if error?
logger.log "real-time-sharelatex listening on #{host}:#{port}"
logger.log "real-time-sharelatex listening on #{host}:#{port}"
# Stop huge stack traces in logs from all the socket.io parsing steps.
Error.stackTraceLimit = 10