Skip to content

Add more context to error message when config files fail to load.#293

Merged
siegy22 merged 1 commit intoque-rb:masterfrom
trammel:add-message-to-failed-require
Oct 5, 2020
Merged

Add more context to error message when config files fail to load.#293
siegy22 merged 1 commit intoque-rb:masterfrom
trammel:add-message-to-failed-require

Conversation

@trammel
Copy link
Copy Markdown

@trammel trammel commented Sep 9, 2020

Currently when a configuration/app file is required, if it fails for any reason, then a simple "Could not load file" message is given.

This might be because the required file is missing, or it could be because it contains errors.

This commit adds more context to the reason for the failure, helping debug cases where the required file contains an error.

Currently when a configuration/app file is required, if it fails for any reason, then a simple "Could not load file" message is given.

This might be because the required file is missing, or it could be because it contains errors.

This commit adds more context to the reason for the failure, helping debug cases where the required file contains an error.
@siegy22
Copy link
Copy Markdown
Member

siegy22 commented Oct 5, 2020

Thank you for your contribution, definitely a change that is welcome 😄

@siegy22 siegy22 merged commit 77c6b92 into que-rb:master Oct 5, 2020
@ZimbiX
Copy link
Copy Markdown
Member

ZimbiX commented Jan 22, 2021

Nice. This resolves #280

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

Successfully merging this pull request may close these issues.

4 participants