anubhav77 commited on
Commit
93bc1c1
·
1 Parent(s): b30d515
Files changed (1) hide show
  1. 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