Skip to content

Commit

Permalink
[ci] Fix error at ManageRelationships
Browse files Browse the repository at this point in the history
It was using the .summary method for the exception and this doesn't
exists.
  • Loading branch information
Moises Deniz Aleman committed Feb 12, 2018
1 parent 52cc7dd commit d8ac290
Show file tree
Hide file tree
Showing 2 changed files with 179 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/mixins/webui/manage_relationships.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def remove_role
main_object.remove_role(load_obj, Role.find_by_title(params[:role]))
main_object.store
rescue NotFoundError => e
flash[:error] = e.summary
flash[:error] = e.to_s
end
respond_to do |format|
format.js { render json: 'ok' }
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d8ac290

Please sign in to comment.