naf 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -452,8 +452,14 @@ module Process::Naf
452
452
  r.read_nonblock(10240).split("\n").each do |log|
453
453
  log_file << log.rstrip
454
454
  end
455
- rescue Errno::EAGAIN
456
- rescue Errno::EINTR
455
+ rescue Errno::EAGAIN => e
456
+ logger.error 'EAGAIN'
457
+ logger.error "#{e.inspect}"
458
+ logger.error "#{e.message}"
459
+ rescue Errno::EWOULDBLOCK => ew
460
+ logger.error 'EWOULDBLOCK'
461
+ logger.error "#{ew.inspect}"
462
+ logger.error "#{ew.message}"
457
463
  rescue EOFError => eof
458
464
  stdout = nil if r == stdout
459
465
  stderr = nil if r == stderr
@@ -1,3 +1,3 @@
1
1
  module Naf
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.name = "naf"
9
9
  s.version = Naf::VERSION
10
10
  s.license = 'New BSD License'
11
- s.date = '2014-02-03'
11
+ s.date = '2014-02-20'
12
12
  s.summary = "Creates infrastructure for a customizable and robust Postgres-backed script scheduling/running"
13
13
  s.description = "A cloud based distributed cron, application framework and operations console. Naf works as a distributed script running " +
14
14
  "system that provides scheduling, logging, alarming, machine redundancy, and the ability to set constraint during script execution"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: naf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2014-02-03 00:00:00.000000000 Z
15
+ date: 2014-02-20 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rails