a/wvdetection.js | b/wvdetection.js | ||
---|---|---|---|
... |
... |
||
773 | } |
773 | } |
774 | if (message === "--INFO--\"Triing to reconnect after error\"") { |
774 | if (message === "--INFO--\"Triing to reconnect after error\"") { |
775 | console.log("Error? Switching to different url!"); |
775 | console.log("Error? Switching to different url!"); |
776 | setTimeout(function() {self.switchToDifferentUrl()}, 1000); |
776 | setTimeout(function() {self.switchToDifferentUrl()}, 1000); |
777 | } |
777 | } |
778 | if (message === "The webvisualization license expired. Webvisualization is stopped") { |
||
779 | console.log("License expired. Switching to different url!"); |
||
780 | setTimeout(function() {self.switchToDifferentUrl()}, 1000); |
||
781 | } |
||
778 | } |
782 | } |
779 | } |
783 | } |
780 | } |
784 | } |