Spaces:
Runtime error
Runtime error
v0.1
Browse files- src/main.py +1 -0
src/main.py
CHANGED
@@ -40,6 +40,7 @@ async def catch_exceptions_middleware(
|
|
40 |
return await call_next(request)
|
41 |
except Exception as e:
|
42 |
print(repr(e))
|
|
|
43 |
traceback.print_exc()
|
44 |
return JSONResponse(content={"error": repr(e)}, status_code=500)
|
45 |
|
|
|
40 |
return await call_next(request)
|
41 |
except Exception as e:
|
42 |
print(repr(e))
|
43 |
+
print("from the catch exception")
|
44 |
traceback.print_exc()
|
45 |
return JSONResponse(content={"error": repr(e)}, status_code=500)
|
46 |
|