Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

check if the db file path dir exists before setting up schema #99

Merged
merged 3 commits into from
Aug 4, 2022

Conversation

theverything
Copy link
Contributor

@theverything theverything commented Aug 1, 2022

What changed?
This PR checks if the parent directories exist for the given database file path and returns a more descriptive error to the user.

Why?
The current error output is confusing. Closes #55.

How did you test it?
Yes. Tested it locally.

Potential risks
Users are confused by a new error?

Is hotfix candidate?
No.

@CLAassistant
Copy link

CLAassistant commented Aug 1, 2022

CLA assistant check
All committers have signed the CLA.

server.go Outdated Show resolved Hide resolved
@jlegrone
Copy link
Collaborator

jlegrone commented Aug 2, 2022

LGTM, please just sign the CLA and we should be good to go. Thanks!

@theverything
Copy link
Contributor Author

I agreed to the CLA a couple times but I'm not sure why it's not showing

@jlegrone
Copy link
Collaborator

jlegrone commented Aug 2, 2022

Might be because your commits are signed off as @zillow-jeff, not @theverything.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Temporalite fails to start when file persistence is configured in nonexistent directory
4 participants