# File lib/autobuild/reporting.rb, line 89 def error(error) if error.mail? send_mail("Build failed", error.to_s) end end