diff --git a/src/fmu/sumo/utilities/sim2sumo.py b/src/fmu/sumo/utilities/sim2sumo.py index dfd3f7be..58cca9f0 100644 --- a/src/fmu/sumo/utilities/sim2sumo.py +++ b/src/fmu/sumo/utilities/sim2sumo.py @@ -163,6 +163,9 @@ def get_results( trace = sys.exc_info()[1] except FileNotFoundError: trace = sys.exc_info()[1] + except ValueError: + trace = sys.exc_info()[1] + if trace is not None: logger.warning( "Trace: %s, \nNo results produced ",