unicorn-log_error_one_liner 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/unicorn/log_error_one_liner.rb +1 -1
- data/unicorn-log_error_one_liner.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d8ab354ef7547e03c75fd5cb4c01f7613d81329
|
4
|
+
data.tar.gz: b4021d882dc16e1449377a8d0c7d14865de3fd1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc0114e695f85de33128189add3574f40ed1f4634920282c97bd1f06aee184f8dd4d40f7eb2e6da7dba3163e5fcbe3fcba916c48329d6a2496eed079e18544ef
|
7
|
+
data.tar.gz: 7ee581d749ee7f355379133b148da6e7d7e10bfe90d12c580624e0309da772a4a87e5a9ebbdcc010391bfe16ceb0cc7b44d2f41b93cb0d0486f3700b1cdee944
|
@@ -4,7 +4,7 @@ module Unicorn
|
|
4
4
|
def self.log_error(logger, prefix, exc)
|
5
5
|
message = exc.message
|
6
6
|
message = message.dump if /[[:cntrl:]]/ =~ message
|
7
|
-
backtrace_str = exc.backtrace.join(
|
7
|
+
backtrace_str = exc.backtrace.join("\t")
|
8
8
|
logger.error "#{prefix}: #{message} (#{exc.class}) #{backtrace_str}"
|
9
9
|
end
|
10
10
|
end
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "unicorn-log_error_one_liner"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.2"
|
8
8
|
spec.authors = ["Spring_MT"]
|
9
9
|
spec.email = ["today.is.sky.blue.sky@gmail.com"]
|
10
10
|
spec.summary = %q{Write a short summary. Required.}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicorn-log_error_one_liner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Spring_MT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicorn
|