lib/qpush/server/errors.rb in qpush-0.1.2 vs lib/qpush/server/errors.rb in qpush-0.1.4

- old
+ new

@@ -1,18 +1,3 @@ module QPush - class ServerError < StandardError - def initialize(msg = nil) - @message = msg - log_error - end - - def message - "The following error occured: #{@message}" - end - - private - - def log_error - Server.log.err("Server Error - #{@message}") - end - end + class ServerError < StandardError; end end