Skip to content

Commit

Permalink
Use #error_host instead of #host to avoid triggering a deprecatio…
Browse files Browse the repository at this point in the history
…n warning (#721)
  • Loading branch information
svenwin committed Sep 27, 2023
1 parent f2cc991 commit 9bcf99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/airbrake-ruby/deploy_notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def notify(deploy_info)
@sender.send(
deploy_info,
promise,
URI.join(@config.host, "api/v4/projects/#{@config.project_id}/deploys"),
URI.join(@config.error_host, "api/v4/projects/#{@config.project_id}/deploys"),
)

promise
Expand Down

0 comments on commit 9bcf99f

Please sign in to comment.