This commit is contained in:
Nicolas Mowen 2025-03-14 07:13:32 -06:00
parent 70697a93b4
commit 6241415a26

View File

@ -781,14 +781,14 @@ def event_snapshot(
height=params.height, height=params.height,
quality=params.quality, quality=params.quality,
) )
except Exception as e: except Exception:
return JSONResponse( return JSONResponse(
content={"success": False, "message": f"Ongoing event not found: {e}"}, content={"success": False, "message": "Ongoing event not found"},
status_code=404, status_code=404,
) )
except Exception as e: except Exception:
return JSONResponse( return JSONResponse(
content={"success": False, "message": f"Unknown error occurred: {e}"}, content={"success": False, "message": "Unknown error occurred"},
status_code=404, status_code=404,
) )