Huskehhh / dayz-monitor

DayZ server monitoring discord bot
6 stars 0 forks source link

Halts on an error; does not continue #6

Closed openface closed 3 years ago

openface commented 3 years ago

It seems that when it receives an error parsing a response from battlemetrics, the monitoring halts, and requires a manual restart.

dayz-monitor_1  | Error when updating cache: error decoding response body: expected value at line 1 column 1

or

dayz-monitor_1  | Error when updating cache: 500: Internal Server Error

Ideally the monitor should skip on a failed parse, and continue to try again.

Huskehhh commented 3 years ago

This should be fixed via the above commit

Thanks again for the issue!