Sha256: d002f9bdcf431fab069467752a690eb424c5b8efcb7eadef0c9cc31a09e6266f

Contents?: true

Size: 192 Bytes

Versions: 2

Compression:

Stored size: 192 Bytes

Contents

module Nyanko
  module ExceptionHandler
    class << self
      def handle(exception)
        Logger.debug(exception)
        raise exception if Config.raise_error
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nyanko-0.0.7 lib/nyanko/exception_handler.rb
nyanko-0.0.6 lib/nyanko/exception_handler.rb