From e8af8559fd07ff1a093690ebc7df8e43365c03fc Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Tue, 3 Jan 2023 22:03:26 +0100 Subject: [PATCH] global: better fail log --- openpype/scripts/ocio_config_op.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpype/scripts/ocio_config_op.py b/openpype/scripts/ocio_config_op.py index 3f1ddc13c0..84e30e75da 100644 --- a/openpype/scripts/ocio_config_op.py +++ b/openpype/scripts/ocio_config_op.py @@ -42,7 +42,7 @@ def get_colorspace_data(config_path): config_path = Path(config_path) if not config_path.is_file(): - raise IOError("Input path should be `config.ocio` file") + raise IOError(f"Input path `{config_path}` should be `config.ocio` file") config = ocio.Config().CreateFromFile(str(config_path))