Actions
Bug #2040
closeduninitialized constant Apipie::ParamError
Description
Foreman foreman-1.1RC1-3.el6.noarch
uninitialized constant Apipie::ParamError
BT
/usr/share/foreman/app/controllers/api/base_controller.rb 19
When I comment block all work smoothly:
- rescue_from Apipie::ParamError, :with => lambda { |error|
- Rails.logger.info "#{error.message} (#{error.class})"
- render_error 'param_error', :status => :bad_request, :locals => { :exception => error }
- }
Updated by Sam Kottler about 12 years ago
- Status changed from New to Closed
This was an issue with the packaging for apipie. Running an update of the rubygem-apipie-rails package will fix it.
Sorry for the inconvenience!
Actions