mirror of
https://github.com/j93es/oauth-backend.git
synced 2026-06-04 08:41:52 +09:00
5 lines
134 B
Python
5 lines
134 B
Python
async def try_catch(coro):
|
|
try:
|
|
return await coro
|
|
except Exception as e:
|
|
print(f"[ERROR] {coro} failed: {e}")
|