Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a more specific rescue to avoid hiding unexpected errors
To test, we can do the following: ``` $ bin/rake db:drop $ bin/rails c # should not blow up $ bin/rake db:create $ bin/rails c > Settings.log.level # => "info" $ bin/rake db:migrate $ bin/rails c > Settings.log.level # => "info" $ bin/rake db:seed $ bin/rails c > Settings.log.level # => "info" > Vmdb::Settings.save!(MiqServer.my_server, :log => {:level => "debug"}) > Settings.reload! > Settings.log.level # => "debug" $ bin/rails c > Settings.log.level # => "debug" ```
- Loading branch information