emissary 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 3
4
- :patch: 1
4
+ :patch: 2
@@ -187,7 +187,7 @@ module Emissary
187
187
  raise "get_binlog_info must be called from within a lock." unless locked?
188
188
  (result = connection.query("SHOW MASTER STATUS")).fetch_row[0,2]
189
189
  ensure
190
- result.free
190
+ result.free unless result.nil?
191
191
  end
192
192
 
193
193
  def spawn_lockwatch_thread!
@@ -72,7 +72,7 @@ module Emissary
72
72
  end
73
73
 
74
74
  payload[:errors].each do |e|
75
- exception = ::Emissary.klass_const(e[:type]).new(e[:message])
75
+ exception = ::Emissary.klass_const(e[:type]).new(e[:message]) rescue StandardError.new("#{e[:type]}: #{e[:message]}")
76
76
  exception.set_backtrace(e[:backtrace])
77
77
  errors << exception
78
78
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emissary
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 1
10
- version: 1.3.1
9
+ - 2
10
+ version: 1.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Carl P. Corliss