From cada86a05f3bb2a7e2e2edfb872571dae2b894d7 Mon Sep 17 00:00:00 2001 From: miruka Date: Sun, 15 Mar 2020 17:35:07 -0400 Subject: [PATCH] Log server sync errors as warnings instead --- src/backend/matrix_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/matrix_client.py b/src/backend/matrix_client.py index 6df2b752..2e001e2b 100644 --- a/src/backend/matrix_client.py +++ b/src/backend/matrix_client.py @@ -274,7 +274,7 @@ class MatrixClient(nio.AsyncClient): trace = traceback.format_exc().rstrip() if isinstance(err, MatrixError) and err.http_code >= 500: - log.error("Server failure during sync:\n%s", trace) + log.warning("Server failure during sync:\n%s", trace) else: LoopException(str(err), err, trace)