Skip to content
Browse files

change to print errors to console

  • Loading branch information...
1 parent 5b3145f commit 9a9918438b0bebea317e311475430e97fce109e0 @jugyo committed Aug 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/earthquake/core.rb
View
2 lib/earthquake/core.rb
@@ -246,7 +246,7 @@ def async(&block)
end
def error(e)
- notify "[ERROR] #{e.message}\n#{e.backtrace.join("\n")}"
+ puts "[ERROR] #{e.message}\n #{e.backtrace.join("\n ")}".c(:notice)
end
def notify(message, options = {})

0 comments on commit 9a99184

Please sign in to comment.
Something went wrong with that request. Please try again.