Sha256: e83ca9fe2b7f7e9194888deb521869b1ea0470a10715997b07e1e240b312c607
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
# frozen_string_literal: true module ActiveRecordPostgresqlXverify module ErrorHandler def execute(*) super rescue StandardError _flag_extend_verify! raise end def execute_and_clear(*, **) super rescue StandardError _flag_extend_verify! raise end def _flag_extend_verify! Thread.current[ActiveRecordPostgresqlXverify::EXTEND_VERIFY_FLAG] = true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_record_postgresql_xverify-0.2.0 | lib/active_record_postgresql_xverify/error_handler.rb |