content_server 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/backup_server +3 -3
- data/bin/content_server +3 -3
- data/lib/content_server/version.rb +1 -1
- metadata +10 -10
data/bin/backup_server
CHANGED
@@ -28,11 +28,11 @@ rescue SystemExit, SignalException => exc
|
|
28
28
|
Log.flush
|
29
29
|
exit
|
30
30
|
rescue Exception => exc
|
31
|
-
Log.error("Exception happened in #{Params['service_name']} server: #{exc.class}:#{exc.message}")
|
31
|
+
Log.error("Exception happened in #{Params['service_name']} server: #{exc.class}:#{exc.message}\nBacktrace:\n#{exc.backtrace.join("\n")}")
|
32
32
|
if retries > 0
|
33
|
-
Log.debug1("Restarting (retries:#{retries})
|
33
|
+
Log.debug1("Restarting (retries:#{retries}).")
|
34
34
|
else
|
35
|
-
Log.debug1("Exiting
|
35
|
+
Log.debug1("Exiting...")
|
36
36
|
Log.flush
|
37
37
|
end
|
38
38
|
retries -= 1
|
data/bin/content_server
CHANGED
@@ -25,11 +25,11 @@ rescue SystemExit, SignalException => exc
|
|
25
25
|
Log.flush
|
26
26
|
exit
|
27
27
|
rescue Exception => exc
|
28
|
-
Log.error("Exception happened in #{Params['service_name']} server: #{exc.class}:#{exc.message}")
|
28
|
+
Log.error("Exception happened in #{Params['service_name']} server: #{exc.class}:#{exc.message}\nBacktrace:\n#{exc.backtrace.join("\n")}")
|
29
29
|
if retries > 0
|
30
|
-
Log.debug1("Restarting (retries:#{retries})
|
30
|
+
Log.debug1("Restarting (retries:#{retries}).")
|
31
31
|
else
|
32
|
-
Log.debug1("Exiting
|
32
|
+
Log.debug1("Exiting...")
|
33
33
|
Log.flush
|
34
34
|
end
|
35
35
|
retries -= 1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: content_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: content_data
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - '='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.0.
|
37
|
+
version: 1.0.2
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - '='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 1.0.
|
45
|
+
version: 1.0.2
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: file_monitoring
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - '='
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.0.
|
53
|
+
version: 1.0.2
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.0.
|
61
|
+
version: 1.0.2
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: log
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,7 +178,7 @@ dependencies:
|
|
178
178
|
requirements:
|
179
179
|
- - '='
|
180
180
|
- !ruby/object:Gem::Version
|
181
|
-
version: 1.0.
|
181
|
+
version: 1.0.2
|
182
182
|
type: :runtime
|
183
183
|
prerelease: false
|
184
184
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -186,7 +186,7 @@ dependencies:
|
|
186
186
|
requirements:
|
187
187
|
- - '='
|
188
188
|
- !ruby/object:Gem::Version
|
189
|
-
version: 1.0.
|
189
|
+
version: 1.0.2
|
190
190
|
- !ruby/object:Gem::Dependency
|
191
191
|
name: file_monitoring
|
192
192
|
requirement: !ruby/object:Gem::Requirement
|
@@ -194,7 +194,7 @@ dependencies:
|
|
194
194
|
requirements:
|
195
195
|
- - '='
|
196
196
|
- !ruby/object:Gem::Version
|
197
|
-
version: 1.0.
|
197
|
+
version: 1.0.2
|
198
198
|
type: :runtime
|
199
199
|
prerelease: false
|
200
200
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -202,7 +202,7 @@ dependencies:
|
|
202
202
|
requirements:
|
203
203
|
- - '='
|
204
204
|
- !ruby/object:Gem::Version
|
205
|
-
version: 1.0.
|
205
|
+
version: 1.0.2
|
206
206
|
- !ruby/object:Gem::Dependency
|
207
207
|
name: log
|
208
208
|
requirement: !ruby/object:Gem::Requirement
|