Actions
Bug #3854
closedHammer fails with exception when it tries to load a module that is not installed
Description
When a module that is not installed is listed in hammer's config, hammer fails with an exception:
hammer /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- hammer_cli_foreman (LoadError) from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /usr/bin/hammer:52 from /usr/bin/hammer:50:in `each' from /usr/bin/hammer:50
It should rather print a message to stderr, log the error and continue loading other modules.
Updated by Tomáš Strachota over 10 years ago
- Status changed from New to Assigned
- Assignee set to Tomáš Strachota
Updated by Tomáš Strachota over 10 years ago
- Status changed from Assigned to Ready For Testing
Updated by Anonymous over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman:hammer-cli|commit:cb6240964c0b3c106aefa27ea72280980c270d60.
Actions