Skip to content

Commit 8012c06

Browse files
committed
Don't 500 if _run_inspector has failed for some reason.
1 parent 130f96e commit 8012c06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎hyperstyle/src/python/review/common/parallel_runner.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def _run_inspector(
3737
return inspect_function(data, config.inspectors_config)
3838
except Exception:
3939
logger.exception(f"Inspector {inspector.inspector_type} failed.")
40-
raise
40+
return []
4141

4242

4343
def inspect_in_parallel(

0 commit comments

Comments
 (0)