elbping 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module ElbPing
7
7
  code = status[:code]
8
8
  duration = status[:duration]
9
9
  exc = status[:exception]
10
- exc_display = exc ? 'exception=#{exception}' : ''
10
+ exc_display = exc ? "exception=#{exc}" : ''
11
11
 
12
12
  puts "Response from #{node}: code=#{code.to_s} time=#{duration} ms #{exc_display}"
13
13
  end
@@ -27,6 +27,10 @@ module ElbPing
27
27
  error = :econnrefused
28
28
  rescue Timeout::Error
29
29
  error = :timeout
30
+ rescue Interrupt
31
+ raise
32
+ rescue SystemExit
33
+ raise
30
34
  rescue StandardError => e
31
35
  exc = e # because I don't understand scope in ruby yet
32
36
  error = :exception
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elbping
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: