diff --git a/app/wallet.py b/app/wallet.py index 0c5133e..9abfc09 100644 --- a/app/wallet.py +++ b/app/wallet.py @@ -492,8 +492,9 @@ def drain_account(self, account_address, destination): return False try: response = xrpl.transaction.submit_and_wait(payment, self.client, sending_wallet) - except xrpl.transaction.XRPLReliableSubmissionException as e: - response = f"Submit failed: {e}" + except Exception as e: + response = f"Submit failed: {e}" + logger.warning(e) logger.warning(response) drain_results.append({ "dest": destination,