Skip to content

Commit

Permalink
change to print errors to console
Browse files Browse the repository at this point in the history
  • Loading branch information
jugyo committed Aug 5, 2012
1 parent 5b3145f commit 9a99184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/earthquake/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {})
Expand Down

0 comments on commit 9a99184

Please sign in to comment.