Skip to content

Commit 9cfaf72

Browse files
committed
fix: Log error correctly
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 071cd0d commit 9cfaf72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def background_thread_task(task_processors: dict):
7474
sleep(5)
7575
continue
7676
except (NextcloudException, httpx.RequestError, JSONDecodeError) as e:
77-
log(nc, LogLvl.ERROR, "Network error fetching the next task", e)
77+
log(nc, LogLvl.ERROR, f"Network error fetching the next task {e}")
7878
sleep(5)
7979
continue
8080

0 commit comments

Comments
 (0)