hperkins commited on
Commit
2360523
1 Parent(s): 21e3017

Update handler.py

Browse files
Files changed (1) hide show
  1. 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
- logging.error(f"Error extracting video frames: {e}", exc_info=True) # Log exception details
 
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