Skip to content

Commit

Permalink
Capture ValueError
Browse files Browse the repository at this point in the history
Compdat with complump raises this error
  • Loading branch information
daniel-sol committed Sep 19, 2023
1 parent 5dfe9eb commit daff5df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/fmu/sumo/utilities/sim2sumo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ",
Expand Down

0 comments on commit daff5df

Please sign in to comment.