-
Notifications
You must be signed in to change notification settings - Fork 237
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
V13 pre refactor #1624
V13 pre refactor #1624
Conversation
a20b0c9
to
3b6c7b4
Compare
b671132
to
f43a0b1
Compare
try { | ||
return fse.readJsonSync(appConfigPath) | ||
} catch (e) { | ||
console.error(`Could not load config from ${appConfigPath}, please check your JSON is well formed.`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how this error message will read to someone who isn't a developer, @NoraGDS what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you be happier if this said something like "Could not load config from ${appConfigPath}, please check your configuration is formatted correctly.
"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or would you prefer I revert the catch here also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lfdebrux doesn't ready too well. Can we say 'Check your configuration is formatted correctly in (whatever place it's in)'
cbd118e
to
bfea15b
Compare
5. Update the [CHANGELOG.md](/CHANGELOG.md) by: | ||
6. Update the [CHANGELOG.md](/CHANGELOG.md) by: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
76a64a2
to
46a1a50
Compare
Prepare V13 for a refactor to allow plugins/extensions to be added without restarting the application: