Skip to content

Commit 5229d30

Browse files
author
Codeslayer666
committed
travis test
1 parent 9885532 commit 5229d30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

upcloud_api/cloud_manager/cloud_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ def __init__(self, username, password, timeout=10):
2727
`None` means that there is no timeout.
2828
"""
2929
if not username or not password:
30-
raise Exception('Invalid credentials, please provide a username and password.')
30+
raise Exception(
31+
'Invalid credentials, please provide a username and password. user:{} - pass:{}'.format(username, password))
3132

3233
credentials = '{0}:{1}'.format(username, password).encode()
3334
encoded_credentials = base64.b64encode(credentials).decode()

0 commit comments

Comments
 (0)