Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More explanatory error for missing persistence folder #1147

Closed
EnoF opened this issue Feb 22, 2023 · 2 comments
Closed

More explanatory error for missing persistence folder #1147

EnoF opened this issue Feb 22, 2023 · 2 comments

Comments

@EnoF
Copy link

EnoF commented Feb 22, 2023

When starting pact server pact -s config.yaml I receive the following error:

pact: ExceptionInLinkedThread (ThreadId 7) user error (Database error: (ErrorCan'tOpen,"unable to open database file"))

Reason being that the log folder I defined in the config.yaml wasn't created yet. Can we either enhance the error message or auto create the folder for devs?

@emilypi
Copy link
Member

emilypi commented Feb 22, 2023

Thanks for raising this @EnoF I don't think this one should be too hard to fix.

@emilypi
Copy link
Member

emilypi commented Feb 27, 2023

Thanks @EnoF - this is in master.

@emilypi emilypi closed this as completed Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants