naf 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/models/process/naf/runner.rb +8 -2
- data/lib/naf/version.rb +1 -1
- data/naf.gemspec +1 -1
- metadata +2 -2
@@ -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
|
-
|
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
|
data/lib/naf/version.rb
CHANGED
data/naf.gemspec
CHANGED
@@ -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-
|
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.
|
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-
|
15
|
+
date: 2014-02-20 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rails
|