mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
logged information error on ftrack connection failure
This commit is contained in:
parent
7ff6e24daa
commit
05b2548a9b
1 changed files with 5 additions and 4 deletions
|
|
@ -55,10 +55,11 @@ def validate_credentials(url, user, api):
|
|||
)
|
||||
session.close()
|
||||
except Exception as e:
|
||||
log.error('Can\'t log into Ftrack with used credentials.')
|
||||
log.debug('Ftrack server: {}'.format(url))
|
||||
log.debug('Username: {}'.format(user))
|
||||
log.debug('API key: {}'.format(api))
|
||||
log.error(
|
||||
'Can\'t log into Ftrack with used credentials:'
|
||||
' Ftrack server: "{}" // Username: {} // API key: {}'.format(
|
||||
url, user, api
|
||||
))
|
||||
return False
|
||||
|
||||
log.debug('Credentials Username: "{}", API key: "{}" are valid.'.format(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue