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 6ee0f65 commit be70a83
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 be70a83

Please sign in to comment.