Skip to content

Commit 938aa3f

Browse files
add helpful message for error handling on unsub var
1 parent 456c7b2 commit 938aa3f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

schimpy/schism_yaml.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ def load(stream, envvar=None):
294294
msg = [f"Unsubstituted variables found in YAML:"]
295295
for path, matches in unsub:
296296
msg.append(f" {path}: {matches}")
297+
msg.append(r"This could be an issue of using {var} instead of ${var}")
297298
raise ValueError("\n".join(msg))
298299
return data
299300
finally:

0 commit comments

Comments
 (0)