Merge pull request #5102 from MikeMcQuaid/analytics-build-error-options

analytics: fix display of build error options.
This commit is contained in:
Mike McQuaid 2018-10-14 12:33:53 -07:00 committed by GitHub
commit 1cf020a823
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ module Utils
return if exception.formula.tap.private? return if exception.formula.tap.private?
action = exception.formula.full_name action = exception.formula.full_name
if (options = exception.options) if (options = exception.options&.to_a&.join(" "))
action = "#{action} #{options}".strip action = "#{action} #{options}".strip
end end
report_event("BuildError", action) report_event("BuildError", action)