utils/analytics: fix BuildError reporting.

Need to ensure we call the correct methods to avoid duplicates.
This commit is contained in:
Mike McQuaid 2023-02-16 12:59:46 +00:00
parent 17c872fb52
commit ef8ad10741
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -161,7 +161,7 @@ module Utils
else
formula_full_name
end
report_event("BuildError", package_and_options)
report_google_event("BuildError", package_and_options)
end
sig { params(exception: Exception).void }
@ -177,7 +177,7 @@ module Utils
else
formula_full_name
end
report_event(:build_error, package_and_options)
report_influx_event(:build_error, package_and_options)
end
def messages_displayed?