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?
|
||||
|
||||
action = exception.formula.full_name
|
||||
if (options = exception.options&.to_a&.join(" "))
|
||||
action = "#{action} #{options}".strip
|
||||
if (options = exception.options.to_a.presence)
|
||||
action = "#{action} #{options.map(&:to_s).join(" ")}".strip
|
||||
end
|
||||
report_event("BuildError", action)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user