Changes the error message raised when Scenic.Assets.Static.build!/2 encounters an error.
Motivation and Context
Previously it wasn't possible to know the specific error message which could potentially cover up other error messages. Also knowing the value that was tried gives a good hint about if you are setting the value in your configuration in the right place.
Hopefully this change will help user's debug errors in their assets otp_app configuration.
Types of changes
[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
[x] Improvement/refactoring (non-breaking change that doesn't add any feature
but make things better)
Checklist
[x] Check other PRs and make sure that the changes are not done yet.
Description
Changes the error message raised when
Scenic.Assets.Static.build!/2
encounters an error.Motivation and Context
Previously it wasn't possible to know the specific error message which could potentially cover up other error messages. Also knowing the value that was tried gives a good hint about if you are setting the value in your configuration in the right place.
Hopefully this change will help user's debug errors in their assets
otp_app
configuration.Types of changes
Checklist