core
core copied to clipboard
fix: Better output in case dataDirectory is invalid
Description
If the dataDirectory is not correct there is currently only the message Your Data directory is invalid
without specifying which directory is currently set. This small PR aims to add more output in this case.
Motivation and Context
It solved the missing output in case something is wrong with the data directory.
How Has This Been Tested?
- Local test
Screenshots (if appropriate):
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Database schema changes (next release will require increase of minor version instead of patch)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Technical debt
- [ ] Tests only (no source changes)
Checklist:
- [x] Code changes
- [ ] Unit tests added
- [ ] Acceptance tests added
- [ ] Documentation ticket raised:
- [ ] Changelog item, see TEMPLATE