diff --git a/theHarvester/lib/api/api.py b/theHarvester/lib/api/api.py index 15ea9607..aea3d71a 100644 --- a/theHarvester/lib/api/api.py +++ b/theHarvester/lib/api/api.py @@ -196,7 +196,7 @@ async def query( "hosts": ahosts, } ) - except Exception as e: + except Exception: return UJSONResponse( {"exception": "Please contact the server administrator to check the issue"} )