diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-09-17 17:30:19 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-09-17 17:30:19 +0200 |
commit | 102bd075689892b06765fb857c89604fe9cf33e5 (patch) | |
tree | 6782d4ee795337204d29a873e7854d6e426574df /web/src/js/connection.js | |
parent | 8245dd19f4f2f4cdd74a6fdf9b5e051c2cd2fac6 (diff) | |
download | mitmproxy-102bd075689892b06765fb857c89604fe9cf33e5.tar.gz mitmproxy-102bd075689892b06765fb857c89604fe9cf33e5.tar.bz2 mitmproxy-102bd075689892b06765fb857c89604fe9cf33e5.zip |
implement FlowStore basics
Diffstat (limited to 'web/src/js/connection.js')
-rw-r--r-- | web/src/js/connection.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/src/js/connection.js b/web/src/js/connection.js index 5d464e52..640e9742 100644 --- a/web/src/js/connection.js +++ b/web/src/js/connection.js @@ -22,9 +22,11 @@ _Connection.prototype.onmessage = function (message) { AppDispatcher.dispatchServerAction(m); }; _Connection.prototype.onerror = function (error) { + EventLogActions.add_event("WebSocket Connection Error."); console.log("onerror", this, arguments); }; _Connection.prototype.onclose = function (close) { + EventLogActions.add_event("WebSocket Connection closed."); console.log("onclose", this, arguments); }; |