gregfitz23-chrono_trigger 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -2
- data/lib/chrono_trigger/trigger.rb +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -95,7 +95,7 @@ module ChronoTrigger
|
|
95
95
|
def execute_with_active_record
|
96
96
|
begin
|
97
97
|
@exec_block.call
|
98
|
-
rescue ActiveRecord::ConnectionNotEstablished
|
98
|
+
rescue ActiveRecord::ConnectionNotEstablished, ActiveRecord::StatementInvalid
|
99
99
|
ActiveRecord::Base.connection.reconnect!
|
100
100
|
execute_without_active_record
|
101
101
|
rescue Exception
|