Skip to content

Handle network error in matrix_request

Asbjørn Olling requested to merge retry-on-networkerror into main

Sometimes the bot errors out on a httpx.ConnectError, which kills it.

I try/except'ed my way out of it, adding a 1 second delay before a recursive retry.

It works when I run it locally with the wifi turned off.

Merge request reports