mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Change debuging to stringify messages in exception message
This commit is contained in:
parent
4bcc9fb5c9
commit
f2bc98bc3c
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ define [
|
|||
if messages.length < MESSAGE_LIMIT
|
||||
chat.state.atEnd = true
|
||||
if !messages.reverse?
|
||||
Raven?.captureException(new Error("messages has no reverse property"), { messages: messages })
|
||||
Raven?.captureException(new Error("messages has no reverse property #{JSON.stringify(messages)}"))
|
||||
messages.reverse()
|
||||
prependMessages(messages)
|
||||
chat.state.nextBeforeTimestamp = chat.state.messages[0]?.timestamp
|
||||
|
|
Loading…
Reference in a new issue