diff --git a/src/helpers/database.py b/src/helpers/database.py index 69ef02a..24afaee 100644 --- a/src/helpers/database.py +++ b/src/helpers/database.py @@ -182,11 +182,13 @@ def write_prices_new(self, prices: list[tuple[str, int, float, str]]) -> None: "source": source, }, ) - except psycopg.errors.NumericValueOutOfRange: - logger.info( - f"Error while writing price data. token: {token_address}, " - f"time: {time}, price: {price}, source: {source}" - ) + except Exception as err: + pass + # except psycopg.errors.NumericValueOutOfRange: + # logger.info( + # f"Error while writing price data. token: {token_address}, " + # f"time: {time}, price: {price}, source: {source}" + # ) def get_latest_transaction(self) -> str | None: """Get latest transaction hash.