From 4eb458184eeab517f3db55d78fa95ebad4928959 Mon Sep 17 00:00:00 2001 From: Roy Willy Haug Date: Mon, 25 Sep 2023 14:37:48 +0200 Subject: [PATCH] Fix error logging issue --- src/fmu/sumo/uploader/scripts/sumo_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmu/sumo/uploader/scripts/sumo_upload.py b/src/fmu/sumo/uploader/scripts/sumo_upload.py index b57e6b4a..9d010424 100644 --- a/src/fmu/sumo/uploader/scripts/sumo_upload.py +++ b/src/fmu/sumo/uploader/scripts/sumo_upload.py @@ -120,7 +120,7 @@ def sumo_upload_main( "Problem related to Sumo upload: " f"{err}") _sumo_logger = sumo_connection.api.getLogger("log_2_server_sumo_upload") _sumo_logger.propagate = False - _sumo_logger.warning("Problem related to Sumo upload for case: ", case_metadata_path, " ", err) + _sumo_logger.warning("Problem related to Sumo upload for case: %s; %s", case_metadata_path, err) return