diff --git a/main.py b/main.py index 0457b7d..67b3621 100644 --- a/main.py +++ b/main.py @@ -2,6 +2,7 @@ import time import requests +import logging import json from result import Result, Ok, Err, is_err from typing import List @@ -218,7 +219,7 @@ class LabCleaningBot: message_result = await self.api.receive_message(websocket) if is_err(message_result): - print(message_result.unwrap_err()) + logging.debug(message_result.unwrap_err()) continue else: message = message_result.unwrap()