mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-26 07:02:48 -05:00
Fix skipping invalid JSON messages
This commit is contained in:
@@ -51,6 +51,7 @@ function initApp({ username, password, baseURL, getInitialState, onMessage }) {
|
||||
data = JSON.parse(dataText)
|
||||
} catch (err) {
|
||||
console.warn('received unexpected ws data:', dataText)
|
||||
return
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user