mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
missing variable when mongo is unavailable
This commit is contained in:
parent
1559b8db91
commit
ca9222804b
1 changed files with 1 additions and 0 deletions
|
|
@ -268,6 +268,7 @@ def main_loop(ftrack_url):
|
|||
# Run threads only if Ftrack is accessible
|
||||
if not ftrack_accessible or not mongo_accessible:
|
||||
if not mongo_accessible and not printed_mongo_error:
|
||||
mongo_url = mongo_hostname + ":" + mongo_port
|
||||
print("Can't access Mongo {}".format(mongo_url))
|
||||
|
||||
if not ftrack_accessible and not printed_ftrack_error:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue