Don't attempt to cache sessions after exception
This commit is contained in:
1 parent
729a4dc6ae
commit
30221f1d4e
1 file changed
+1
@@ -37,6 +37,7 @@ MAX_CYCLES = 4
|
||||
|
||||
throwError = (err, httpResponse) ->
|
||||
if httpResponse
|
||||
delete currentSessions.delete(httpResponse.connection)
|
||||
httpResponse.writeHead(500, {'Connection' : 'close'})
|
||||
httpResponse.end("#{err.name}: #{err.message}")
|
||||
|
||||
|
||||
Reference in new issue
Block a user