Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't capture NameError if its not a missing component
Instead of rescuing NameError we proactively check if the requested component is available. This is made possible by Zeitwerk using `autoload` under the hood and having all loadable constants respond `true` when asked if they are `const_defined?`.
- Loading branch information