File tree 2 files changed +2
-2
lines changed
spec/lib/pact_broker/domain
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ def log_completion_message success
196
196
end
197
197
198
198
def log_error e
199
- logger . error "Error executing webhook #{ uuid } #{ e . class . name } - #{ e . message } #{ e . backtrace . join ( "\n " ) } "
199
+ logger . info "Error executing webhook #{ uuid } #{ e . class . name } - #{ e . message } #{ e . backtrace . join ( "\n " ) } "
200
200
201
201
if options [ :show_response ]
202
202
execution_logger . error "Error executing webhook #{ uuid } #{ e . class . name } - #{ e . message } "
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ class WebhookTestError < StandardError; end
310
310
end
311
311
312
312
it "logs the error" do
313
- expect ( logger ) . to receive ( :error ) . with ( /Error.*WebhookTestError.*blah/ )
313
+ expect ( logger ) . to receive ( :info ) . with ( /Error.*WebhookTestError.*blah/ )
314
314
execute
315
315
end
316
316
You can’t perform that action at this time.
0 commit comments