ostcar / kingfisher

MIT License
10 stars 1 forks source link

Custom db path crashes silently #20

Open normanjaeckel opened 6 days ago

normanjaeckel commented 6 days ago

If I use a custom path for db.requests (and db.snapshot) and the parent directory does not exist, kingfisher just returns an HTTP 500 without any hint.

Proposal: On app start it checks that the path to the two db files exist.

(I am not sure whether it should create the path automaticly. Maybe not ...)