Showing
1 changed file
with
3 additions
and
2 deletions
... | ... | @@ -26,7 +26,7 @@ const WS_IDLE_TIMEOUT = 90000; |
26 | 26 | const MAX_PUBLISH_COMMANDS = 10; |
27 | 27 | |
28 | 28 | /*@ngInject*/ |
29 | -function TelemetryWebsocketService($rootScope, $websocket, $timeout, $window, $mdUtil, toast, types, userService) { | |
29 | +function TelemetryWebsocketService($rootScope, $websocket, $timeout, $window, $mdUtil, $log, toast, types, userService) { | |
30 | 30 | |
31 | 31 | var isOpening = false, |
32 | 32 | isOpened = false, |
... | ... | @@ -113,7 +113,8 @@ function TelemetryWebsocketService($rootScope, $websocket, $timeout, $window, $m |
113 | 113 | |
114 | 114 | function onError (errorEvent) { |
115 | 115 | if (errorEvent) { |
116 | - showWsError(0, errorEvent); | |
116 | + //showWsError(0, errorEvent); | |
117 | + $log.warn('WebSocket error event', errorEvent); | |
117 | 118 | } |
118 | 119 | isOpening = false; |
119 | 120 | } | ... | ... |