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

Fix: Do not display API token in error message.

(Redmine issue: #7563)
parent 239f643b
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ class PDNSRService:
resp = requests.get(url)
except Exception as exc:
raise PDNSRRuntimeException(
"Can't get data from PassiveDNS service: {}".format(str(exc))
"Can't get data from PassiveDNS service: {}ip/{}".format(self.base_api_url, str(ipaddr))
)
if resp.status_code == requests.codes.not_found:
......
  • Pavel Kácha @ph

    mentioned in issue #7563 (closed)

    By Rajmund Hruška on 2024-12-26T14:25:13

    · Imported

    mentioned in issue #7563 (closed)

    By Rajmund Hruška on 2024-12-26T14:25:13

    Toggle commit list
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