Skip to content

Commit

Permalink
Remove printing of creds pw
Browse files Browse the repository at this point in the history
  • Loading branch information
gidden committed Jul 9, 2019
1 parent 10b6d0f commit 415d7e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyam/iiasa.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def __init__(self, name, creds=None, application=None):
else:
user, pw = creds
except Exception as e:
msg = 'Could not read credentials: {}\n{}'.format(
creds, str(e))
msg = 'Could not read credentials for user: {}\n{}'.format(
user, str(e))
raise type(e)(msg)
# request authentication
headers = {'Accept': 'application/json',
Expand Down

0 comments on commit 415d7e0

Please sign in to comment.