utils/analytics: fix usage of undefined variable.

This commit is contained in:
Carlos D'Agostino 2016-04-04 18:14:03 +02:00 committed by Mike McQuaid
parent 342ed4c830
commit fa3c55aa65

View File

@ -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"