Merge pull request #7591 from MikeMcQuaid/analytics-options-exception
utils/analytics: fix options reporting.
This commit is contained in:
commit
5572a70a2b
@ -67,8 +67,8 @@ 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&.to_a&.join(" "))
|
if (options = exception.options.to_a.presence)
|
||||||
action = "#{action} #{options}".strip
|
action = "#{action} #{options.map(&:to_s).join(" ")}".strip
|
||||||
end
|
end
|
||||||
report_event("BuildError", action)
|
report_event("BuildError", action)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user