diff --git a/src/monopoly/handler.py b/src/monopoly/handler.py index 7349b688..d9cc62de 100644 --- a/src/monopoly/handler.py +++ b/src/monopoly/handler.py @@ -52,7 +52,7 @@ def get_statement(self) -> CreditStatement | DebitStatement: ) if not credit_config: - raise RuntimeError("Missing credit config") + raise RuntimeError(f"Missing credit config for bank: {bank}") # if it's not a debit statement, assume that it's a credit statement return CreditStatement(self.parser, credit_config)