Skip to content

Commit

Permalink
Fix warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
equinor-ruaj committed Oct 10, 2024
1 parent 67ad292 commit cfa2dec
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/fmu/sumo/sim2sumo/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,12 @@ def find_full_path(datafile, paths):
try:
return paths[data_name]
except KeyError:
mess = (
"Datafile %s, with derived name %s, not found in %s,"
" have to skip"
logger.warning(
"Datafile %s, with derived name %s, not found in %s, have to skip",
datafile,
data_name,
paths,
)
logger.warning(mess, datafile, data_name, paths)
return None


Expand Down

0 comments on commit cfa2dec

Please sign in to comment.