mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
* implement test logic of webpublisher in webpublisher * simplified 'remote_publish' * removed unused 'raise_error' argument
12 lines
401 B
Python
12 lines
401 B
Python
try:
|
|
from openpype.lib import Logger
|
|
from openpype.pipeline.publish.lib import remote_publish
|
|
except ImportError as exc:
|
|
# Ensure Deadline fails by output an error that contains "Fatal Error:"
|
|
raise ImportError("Fatal Error: %s" % exc)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
# Perform remote publish with thorough error checking
|
|
log = Logger.get_logger(__name__)
|
|
remote_publish(log)
|