Empty or incorrect config causes crashes instead of error messages #270
There are all sorts of possible errors with configs, but none are handled at this point.
Legal cases that cause crashes when they shouldn't:
NOTE: Error handling is not implemented in Invoke yet, see #269. So it should get addressed first.
The text was updated successfully, but these errors were encountered:
Have a proximate fix for this in now, prompted by #551. A little worried about the root cause though - why is a config level None instead of an empty dict?
#551 is phrased as this being caused by a runtime file (which would imply the issue is with that, relatively new, feature) but the traceback therein seems to show the problem being merging of a user-level file instead, which would mean it's a more generic problem.
At a glance it seems to be specifically that PyYAML turns an empty file into
I quickly looked to see what happens with other formats; unfortunately the
So, sans a nice clean way to tackle this in a blanket fashion, I am just going to leave my fix as "