mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 18:03:42 -05:00
Truncate error stack traces to 10 lines
This commit is contained in:
parent
7a9f7f0870
commit
99ac814c7d
1 changed files with 4 additions and 1 deletions
|
@ -64,3 +64,6 @@ host = Settings.internal.realTime.host
|
||||||
server.listen port, host, (error) ->
|
server.listen port, host, (error) ->
|
||||||
throw error if 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
|
Loading…
Reference in a new issue