We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c4f5c commit b404fefCopy full SHA for b404fef
1 file changed
services/report/__init__.py
@@ -678,6 +678,17 @@ def build_report_from_raw_content(
678
result.error = ProcessingError(code=UploadErrorCode.REPORT_EMPTY, params={})
679
raw_report_info.error = result.error
680
return result
681
+ except SoftTimeLimitExceeded as e:
682
+ sentry_sdk.capture_exception(e)
683
+ log.warning(
684
+ "Timed out while processing report", extra=dict(reportid=reportid)
685
+ )
686
+ result.error = ProcessingError(
687
+ code=UploadErrorCode.PROCESSING_TIMEOUT, params={}
688
689
+ raw_report_info.error = result.error
690
+ # Return and attempt to save the error result rather than re-raise
691
+ return result
692
except Exception as e:
693
sentry_sdk.capture_exception(e)
694
log.exception(
0 commit comments