diff --git a/theHarvester/discovery/onyphe.py b/theHarvester/discovery/onyphe.py index 9725ff70..215a1359 100644 --- a/theHarvester/discovery/onyphe.py +++ b/theHarvester/discovery/onyphe.py @@ -77,8 +77,7 @@ async def parse_onyphe_resp_json(self): self.totalhosts.update( {domain for domain in result[subdomain_key] if domain.endswith(self.word)} ) - except Exception as e: - print(f'An exception has occurred on result: {result}: {e}') + except Exception: continue else: print(f'Onhyphe API query did not succeed dumping current response: {self.response}')