Spaces:
Sleeping
Sleeping
Commit
•
7855f16
1
Parent(s):
7cb6878
Update main.py
Browse files
main.py
CHANGED
@@ -46,6 +46,14 @@ async def webhook(request: Request):
|
|
46 |
except Exception as e:
|
47 |
print("its exception")
|
48 |
print(e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
else:
|
50 |
print("cond didn't match")
|
51 |
return {"processed": False}
|
|
|
46 |
except Exception as e:
|
47 |
print("its exception")
|
48 |
print(e)
|
49 |
+
return (
|
50 |
+
f"""
|
51 |
+
### Error 😢😢😢
|
52 |
+
|
53 |
+
{e}
|
54 |
+
""",
|
55 |
+
None,
|
56 |
+
)
|
57 |
else:
|
58 |
print("cond didn't match")
|
59 |
return {"processed": False}
|