Skip to content

Commit f201d1d

Browse files
committed
feat(matrix ui): do not log validation errors
1 parent cbf0837 commit f201d1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pact_broker/ui/controllers/matrix.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Matrix < Base
3232
end
3333
end
3434
rescue StandardError => e
35-
log_error e
35+
log_error(e) unless e.is_a?(PactBroker::Error)
3636
locals[:errors] = [e.message]
3737
end
3838
haml :'matrix/show', {locals: locals, layout: :'layouts/main'}

0 commit comments

Comments
 (0)