Add new leap error

pull/44/head
Guillermo Rodriguez 2025-01-18 23:33:09 -03:00
parent 67cff51085
commit 48a0d0db79
No known key found for this signature in database
GPG Key ID: 002CC5F1E6BDA53E
1 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@ from pathlib import Path
from functools import partial
import trio
import leap
import anyio
import httpx
@ -33,7 +34,8 @@ async def failable(fn: partial, ret_fail=None):
OSError,
json.JSONDecodeError,
anyio.BrokenResourceError,
httpx.ReadError
httpx.ReadError,
leap.errors.TransactionPushError
) as e:
return ret_fail