civo-logger 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/civo/logger/middleware.rb +3 -3
- data/lib/civo/logger/version.rb +1 -1
- 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: c870741dbfa27dc15d4108422b5ebe033bd2380a
|
4
|
+
data.tar.gz: da99370a78f176b195ae9a42a6d3b26d6c2b8eb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bdd54983d6e31348cf5d00eeaf18397fb9a710a8c9a1f106369819917f33720cd82bda4605321eb6ea3917485637fb75045176ff6f199b0b5f7fc3320074337
|
7
|
+
data.tar.gz: b2961b1ff33cbd7c24fca2156d5f1e853719248300b2305a0d3ad2e6c21862d0049c40ff03fc5e64e111d2a5c64c92c1e6cfb2a1df1ab4683343e748574bbc05
|
@@ -129,8 +129,8 @@ module Civo
|
|
129
129
|
resp = @app.call(env)
|
130
130
|
resp[2] = ::Rack::BodyProxy.new(resp[2]) { finish(request, resp[2]) }
|
131
131
|
resp
|
132
|
-
rescue Exception
|
133
|
-
finish(request,
|
132
|
+
rescue Exception => e
|
133
|
+
finish(request, e.message)
|
134
134
|
raise
|
135
135
|
ensure
|
136
136
|
ActiveSupport::LogSubscriber.flush_all!
|
@@ -170,7 +170,7 @@ module Civo
|
|
170
170
|
end
|
171
171
|
@output = @output.join("\n")
|
172
172
|
else
|
173
|
-
@output = body
|
173
|
+
@output = body.to_s
|
174
174
|
end
|
175
175
|
|
176
176
|
if send_request?(request)
|
data/lib/civo/logger/version.rb
CHANGED