game-server 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/game-server.gemspec +1 -1
- data/lib/daemon_logger.rb +6 -6
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.6
|
data/game-server.gemspec
CHANGED
data/lib/daemon_logger.rb
CHANGED
@@ -65,13 +65,13 @@ class DaemonLogger
|
|
65
65
|
|
66
66
|
def log_exception(exception, send_mail = true, additional_info = "")
|
67
67
|
|
68
|
-
|
69
|
-
|
70
|
-
#
|
68
|
+
message = <<"EOF"
|
69
|
+
Exception was raised #{exception}
|
70
|
+
#{additional_info}
|
71
|
+
BACKTRACE:
|
72
|
+
#{exception.backtrace.join("\n")}
|
73
|
+
EOF
|
71
74
|
|
72
|
-
# BACKTRACE:
|
73
|
-
# #{exception.backtrace.join("\n")}
|
74
|
-
# EOF
|
75
75
|
# DaemonLogger.instance.send_emails_to_receivers(message) if send_mail
|
76
76
|
log(message, :error)
|
77
77
|
ExceptionNotifier::Notifier.background_exception_notification(e).deliver
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: game-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.4.
|
5
|
+
version: 0.4.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- V_M
|
@@ -149,7 +149,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
149
149
|
- !ruby/object:Gem::Version
|
150
150
|
segments:
|
151
151
|
- 0
|
152
|
-
hash:
|
152
|
+
hash: 466138177
|
153
153
|
version: '0'
|
154
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
155
|
none: false
|