eventSource.onerror = function()
in
static/chat.js [67:69]
3
lines of code
1
McCabe index (conditional complexity)
eventSource.onerror = function () { eventSource.close(); };