Skip to content

Commit

Permalink
fixed mwdblib.exc.ObjectNotFoundError error for mwdb_scan analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
mlodic committed Sep 27, 2024
1 parent 5844530 commit fa0769d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_app/analyzers_manager/file_analyzers/mwdb_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def run(self):
else:
try:
file_info = self.mwdb.query_file(query)
except HTTPError:
except (HTTPError, mwdblib.exc.ObjectNotFoundError):
result["not_found"] = True
return result
else:
Expand Down

0 comments on commit fa0769d

Please sign in to comment.