-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This is a minor thing but will make integrations a little smoother and less error prone: if a database's containing directory does not exist, an error is returned:
Error opening database of Type badger with source /Users/matt/Library/Application Support/Caddy/acme_server/db: error opening Badger database: Error Creating Dir: "/Users/matt/Library/Application Support/Caddy/acme_server/db": mkdir /Users/matt/Library/Application Support/Caddy/acme_server/db: no such file or directory
This can be fixed by calling os.MkdirAll() before opening the DB, but as a user of the library I would have expected it to take care of that for me.
A simple enhancement, but not an urgent one! 👍
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working