diff options
Diffstat (limited to 'twittperator.js')
-rwxr-xr-x | twittperator.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/twittperator.js b/twittperator.js index 75849da..8689caf 100755 --- a/twittperator.js +++ b/twittperator.js @@ -1259,11 +1259,11 @@ let PLUGIN_INFO = buf += data; } } catch (e if /NS_ERROR_NET_RESET|NS_BASE_STREAM_CLOSED/(e)) { - restart(); liberator.echoerr('Twittperator: ChirpStream was stopped by ' + e.name + '.'); - } catch (e) { restart(); + } catch (e) { liberator.echoerr('Twittperator: Unknown error on ChirpStream connection: ' + e.name); + restart(); } }, 500); |