pwrake 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pwrake/version.rb +1 -1
- data/lib/pwrake/worker/executor.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c955ecbb671677c131979dcc11b35985fee3aa58
|
4
|
+
data.tar.gz: aa0ebbcc4161b6e78a07656534e97528487b82d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a45cd6523db363a562225cb79438de77ca57f96a6cdaba59ddf67cf15147919b814167d2b07e0169b3164704b8ce548de49f67ca7befd5cff07b90e4de870b2f
|
7
|
+
data.tar.gz: 7752375bc140f07f00cae72333d1378375358543646fd42f16e9c5835177b16be21049aa3c1fc52e147dbd5d54df0aa8003e688bb1410938fea2b7fb3ebfe818
|
data/lib/pwrake/version.rb
CHANGED
@@ -54,7 +54,7 @@ module Pwrake
|
|
54
54
|
pid,status = Process.waitpid2(@pid)
|
55
55
|
}
|
56
56
|
rescue => exc
|
57
|
-
@log.error
|
57
|
+
@log.error(([exc.to_s]+exc.backtrace).join("\n"))
|
58
58
|
@log.info("#{@id}:kill INT sh @pid=#{@pid}")
|
59
59
|
Process.kill("INT",@pid)
|
60
60
|
pid,status = Process.waitpid2(@pid)
|
@@ -63,7 +63,7 @@ module Pwrake
|
|
63
63
|
end
|
64
64
|
rescue => exc
|
65
65
|
@out.puts "#{@id}:exc:#{exc}"
|
66
|
-
@log.error
|
66
|
+
@log.error(([exc.to_s]+exc.backtrace).join("\n"))
|
67
67
|
ensure
|
68
68
|
@dir.close_messages.each{|m| @log.info(m)}
|
69
69
|
@dir.close
|