From 49a5b612be9cc14dc1721548fdb1c8a6fd878aa8 Mon Sep 17 00:00:00 2001 From: Runar Ask Johannessen <89020325+equinor-ruaj@users.noreply.github.com> Date: Thu, 14 Nov 2024 14:01:14 +0100 Subject: [PATCH] Update startup error message if user is not logged in --- src/fmu/sumo/uploader/forward_models/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fmu/sumo/uploader/forward_models/__init__.py b/src/fmu/sumo/uploader/forward_models/__init__.py index 4572a10..dad35f3 100644 --- a/src/fmu/sumo/uploader/forward_models/__init__.py +++ b/src/fmu/sumo/uploader/forward_models/__init__.py @@ -46,7 +46,8 @@ def validate_pre_experiment( err_msg = ( "Your config uses Sumo" - ", please authenticate using:" + ", please authenticate using by running the following" + " in your terminal:" f"sumo_login{f' -e {env}' if env != 'prod' else ''}" )