added new exception into tools

This commit is contained in:
iLLiCiTiT 2021-12-07 18:24:25 +01:00
parent e4534c5074
commit 500339088d

View file

@ -16,6 +16,11 @@ from pymongo.errors import (
)
class OpenPypeVersionNotFound(Exception):
"""OpenPype version was not found in remote and local repository."""
pass
def should_add_certificate_path_to_mongo_url(mongo_url):
"""Check if should add ca certificate to mongo url.