Empty config file leads to confusing error message #1420
Labels
bug
Something isn't working
📌
This can't go stale
ready for pr
Okay to start work. Feel free to ask questions.
Milestone
Bug Report
Environment
jrnl --diagnostic
output:Current Behavior
If your config file is empty, you get a stack trace and a
TypeError: 'NoneType' object is not iterable
message.Expected Behavior
It would be nice to have an error message that explains that the config file can't be parsed. Maybe show the path of the config file too.
Repro Steps
jrnl.yaml
config file and save itjrnl
Other Information
Stack trace:
A resolution to this issue should have:
The text was updated successfully, but these errors were encountered: