fails silently when remote server errors #2

Closed
opened 2021-07-06 08:56:43 +10:00 by hughrun · 1 comment
hughrun commented 2021-07-06 08:56:43 +10:00 (Migrated from github.com)

When the mastodon server returns a 5xx error (e.g. after rebooting), the bot logs an error but then effectively stops working.

make initiate() a Promise and retry connecting after waiting, rather than simply logging, on error. i.e. we need to stop the websocket connection and reconnect.

When the mastodon server returns a 5xx error (e.g. after rebooting), the bot logs an error but then effectively stops working. make initiate() a Promise and retry connecting after waiting, rather than simply logging, on error. i.e. we need to stop the websocket connection and reconnect.
hughrun commented 2021-07-09 18:53:52 +10:00 (Migrated from github.com)

fixed with 0ba65f8 (I hope)

fixed with 0ba65f8 (I hope)
Sign in to join this conversation.
No description provided.