Skip to content

Commit

Permalink
feat(matrix ui): do not log validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Dec 15, 2017
1 parent cbf0837 commit f201d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/ui/controllers/matrix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Matrix < Base
end
end
rescue StandardError => e
log_error e
log_error(e) unless e.is_a?(PactBroker::Error)
locals[:errors] = [e.message]
end
haml :'matrix/show', {locals: locals, layout: :'layouts/main'}
Expand Down

0 comments on commit f201d1d

Please sign in to comment.