sentry_sdk
This commit is contained in:
@@ -68,6 +68,7 @@ def analyze_image(submission_hash: str) -> None:
|
|||||||
try:
|
try:
|
||||||
analyzer_func(*args)
|
analyzer_func(*args)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
sentry_sdk.capture_exception(e)
|
||||||
print(f"Error in {analyzer_func.__name__}: {e}")
|
print(f"Error in {analyzer_func.__name__}: {e}")
|
||||||
|
|
||||||
analyzers = [
|
analyzers = [
|
||||||
|
|||||||
Reference in New Issue
Block a user