Non-loadable classes in config files are silently ignored
ernestum opened this issue · 0 comments
ernestum commented
When loading a custom config file I discovered, that non-loadable classes are just silently ignored while digging into a bug (HumanCompatibleAI/imitation#664).
The root cause seems to be in
Line 33 in f7311fc
where you should call
json.decode
with the on_missing
parameter set to error
or at least warn
.
This is a change introduced from jsonpickle
2.1.0 to 2.2.0.