Skip to content

Commit

Permalink
Nifi wrong password fix (#13950)
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarVO7 authored Nov 13, 2023
1 parent b34111e commit a1b967b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ def token(self) -> str:
)
self._token = res.text

if res.status_code not in (200, 201):
raise HTTPError(res.text)

except HTTPError as err:
logger.error(
f"Connection error retrieving the Bearer Token to access Nifi - {err}"
Expand Down

0 comments on commit a1b967b

Please sign in to comment.