From fcb381643f9f52868c0559d70c11fab6259804f7 Mon Sep 17 00:00:00 2001 From: Mohamad Bastin Date: Wed, 8 Nov 2023 14:58:06 +0100 Subject: [PATCH] fix gas price too high error --- faucet/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/faucet/models.py b/faucet/models.py index b9259b8a..1f2f18f9 100644 --- a/faucet/models.py +++ b/faucet/models.py @@ -339,8 +339,8 @@ def is_gas_price_too_high(self): from faucet.faucet_manager.fund_manager import EVMFundManager return EVMFundManager(self).is_gas_price_too_high - except Exception as e: - logging.exception(f"Error getting gas price for {self.chain_name} error is {e}") + except Exception: # noqa: E722 + logging.exception(f"Error getting gas price for {self.chain_name}") return True @property