Sha256: 08f6c83e4e31776bb626433c29e33adbadb44ee4f57b7d5097d3b9f7be527410

Contents?: true

Size: 295 Bytes

Versions: 6

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

require "appsignal"

Appsignal::Transaction.class_eval do
  def set_error_with_snowpack(*args)
    restore!
    set_error_without_snowpack(*args)
  end

  alias_method :set_error_without_snowpack, :set_error
  alias_method :set_error, :set_error_with_snowpack
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
snowpack-1.0.0.alpha7 lib/snowpack/instrumentation/appsignal/appsignal_ext.rb
snowpack-1.0.0.alpha6 lib/snowpack/instrumentation/appsignal/appsignal_ext.rb
snowpack-1.0.0.alpha5 lib/snowpack/instrumentation/appsignal/appsignal_ext.rb
snowpack-1.0.0.alpha4 lib/snowpack/instrumentation/appsignal/appsignal_ext.rb
snowpack-1.0.0.alpha3 lib/snowpack/instrumentation/appsignal/appsignal_ext.rb
snowpack-1.0.0.alpha2 lib/snowpack/instrumentation/appsignal/appsignal_ext.rb