lib/rackamole/alert/emole.rb in rackamole-0.3.2 vs lib/rackamole/alert/emole.rb in rackamole-0.3.3
- old
+ new
@@ -37,11 +37,10 @@
params[:body] = output
Pony.mail( params )
output
rescue => boom
- puts boom
- boom.backtrace.each { |l| puts l }
+ boom.backtrace.each { |l| logger.error l }
logger.error( "Rackamole email alert failed with error `#{boom}" )
end
def self.section( title )
buff = []
\ No newline at end of file