Skip to content

Commit

Permalink
Fix #2396
Browse files Browse the repository at this point in the history
  • Loading branch information
joernu76 committed May 27, 2024
1 parent 20bbf55 commit 618aea3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mslib/mswms/dataaccess.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ def _determine_filename(self, variable, vartype, init_time, valid_time, reload=T
else:
logging.error("Could not identify filename. %s %s %s %s %s %s",
variable, vartype, init_time, valid_time, type(ex), ex)
raise ValueError(f"variable type {vartype} not available for variable {variable}")
raise ValueError(f"Variable '{variable}' not available for type '{vartype}', "
f"init_time '{init_time}', and valid_time '{valid_time}'")

def is_reload_required(self, filenames):
return False
Expand Down

0 comments on commit 618aea3

Please sign in to comment.