Skip to content
Snippets Groups Projects
Commit 57b31970 authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Fix: Do not assign exception. (Redmine issue: #7563)

parent e626dcfa
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ class PDNSRService:
# Send request
try:
resp = requests.get(url)
except Exception as exc:
except Exception:
raise PDNSRRuntimeException(
"Can't get data from PassiveDNS service: {}ip/{}".format(self.base_api_url, str(ipaddr))
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment