diff --git a/src/helpers/database.py b/src/helpers/database.py index e465376..69ef02a 100644 --- a/src/helpers/database.py +++ b/src/helpers/database.py @@ -39,7 +39,7 @@ def execute_and_commit(self, query: str, params: dict): connection.execute(text(query), params) connection.commit() except Exception as e: - logger.error(f"Error executing and committing query: {e}") + logger.info(f"Error executing and committing query: {e}") connection.rollback() raise @@ -183,7 +183,7 @@ def write_prices_new(self, prices: list[tuple[str, int, float, str]]) -> None: }, ) except psycopg.errors.NumericValueOutOfRange: - logger.warning( + logger.info( f"Error while writing price data. token: {token_address}, " f"time: {time}, price: {price}, source: {source}" )