Sha256: e1f621e918466e5101e757a75b57487a547f60ce3d65c47c1a9f903fad82f2df
Contents?: true
Size: 445 Bytes
Versions: 1
Compression:
Stored size: 445 Bytes
Contents
module Errplane class BlackBox attr_reader :exception def initialize(params = {}) @exception = params[:exception] end def to_json { :time => Time.now.to_i, :message => @exception.message, :backtrace => @exception.backtrace, :message => exception.message, :backtrace => exception.backtrace, :exception_class => exception.class.to_s }.to_json end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
errplane-0.0.4 | lib/errplane/black_box.rb |