Skip to content

Commit

Permalink
Update metadefender.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-kevin committed Sep 14, 2021
1 parent b42b208 commit fb0850d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadefender.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def scan_file(self, filename: str) -> Dict[str, Any]:
self.nodes[self.current_node]['timeout_count'] = 0
self.nodes[self.current_node]['timeout'] = 0
else:
raise Exception(f"Unable to scan file due to {r.json()['err']}")
raise Exception(f"Unable to scan file on host {url} due to {r.json()['err']}")
return r.json()

def parse_results(self, response: Dict[str, Any]) -> Result:
Expand Down

0 comments on commit fb0850d

Please sign in to comment.