Skip to content

Commit

Permalink
Logging fix
Browse files Browse the repository at this point in the history
  • Loading branch information
roywilly committed Jan 22, 2024
1 parent c9e9b21 commit 53aac8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/fmu/sumo/uploader/scripts/sumo_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ def sumo_upload_main(
e.upload_parameters_txt(glob_var_path=config_path)
logger.info("Upload done")
except Exception as err:
logger.info("Problem related to Sumo upload:", err, type(err))
warnings.warn("Problem related to Sumo upload:", err, type(err))
logger.warning("Problem related to Sumo upload:", err, type(err))
_sumo_logger = sumo_connection.api.getLogger(
"log_2_server_sumo_upload"
)
Expand Down

0 comments on commit 53aac8c

Please sign in to comment.