From 22f4aba3bb0810fd7577e9dd68def7b4a5e9b457 Mon Sep 17 00:00:00 2001 From: JMGaljaard Date: Thu, 15 Sep 2022 21:22:06 +0200 Subject: [PATCH] Add path to logging of exception --- fltk/util/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fltk/util/config/__init__.py b/fltk/util/config/__init__.py index 1e234f5f..c4f7adf2 100644 --- a/fltk/util/config/__init__.py +++ b/fltk/util/config/__init__.py @@ -53,7 +53,7 @@ def get_distributed_config(args, alt_path: str = None) -> Optional[DistributedCo config = DistributedConfig.from_json(config_file.read()) # pylint: disable=no-member config.config_path = Path(args.config) except Exception as e: # pylint: disable=broad-except - msg = f"Failed to get distributed config: {e}" + msg = f"Failed to get distributed config: {e}, path: {config_path}" logging.info(msg) return config