utils/analytics: fix usage of undefined variable.
This commit is contained in:
parent
342ed4c830
commit
fa3c55aa65
@ -39,7 +39,7 @@ end
|
||||
|
||||
def report_analytics_exception(exception, options={})
|
||||
if exception.is_a? BuildError
|
||||
report_analytics_event("BuildError", e.formula.full_name)
|
||||
report_analytics_event("BuildError", exception.formula.full_name)
|
||||
end
|
||||
|
||||
fatal = options.fetch(:fatal, true) ? "1" : "0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user