Skip to content

Commit

Permalink
fix: error type
Browse files Browse the repository at this point in the history
  • Loading branch information
aaraney committed Feb 10, 2025
1 parent 7bd7dbd commit f0ff39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lstm/model_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def state_proxy(
except BaseException as e:
errs.append(e)
if errs:
raise KeyError(errs)
raise RuntimeError(errs)
raise RuntimeError(
"No State objects present. See initialization of `StateValues` instance."
)

0 comments on commit f0ff39b

Please sign in to comment.