Update handler.py
Browse files- handler.py +2 -1
handler.py
CHANGED
@@ -121,5 +121,6 @@ class EndpointHandler():
|
|
121 |
video.close()
|
122 |
return frames
|
123 |
except Exception as e:
|
124 |
-
|
|
|
125 |
return None
|
|
|
121 |
video.close()
|
122 |
return frames
|
123 |
except Exception as e:
|
124 |
+
error_message = f"Error extracting video frames: {e}\n{traceback.format_exc()}"
|
125 |
+
logging.error(error_message)
|
126 |
return None
|