Skip to content

Commit

Permalink
updated warn to use the service warn
Browse files Browse the repository at this point in the history
  • Loading branch information
kbukum1 committed Aug 2, 2024
1 parent 892f8cb commit 2c28cb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions updater/lib/dependabot/updater/update_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ def record_deprecation_warning_for_eco_system(

Dependabot.logger.warn(message)

service.record_update_job_error(
error_type: "#{eco_system}_deprecation_warning",
error_details: {
service.record_update_job_warn(
warn_type: "#{eco_system}_deprecation_warning",
warn_details: {
message: message,
"deprecated-version": deprecated_version,
"supported-versions": supported_versions
Expand Down

0 comments on commit 2c28cb7

Please sign in to comment.