trouble 0.0.11 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trouble/middleware.rb +1 -1
- data/lib/trouble/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f658b51315ea781815fec6c6b65e53e6b8ed90ff
|
4
|
+
data.tar.gz: 810b8e0456870a98dd2c3acc195bcdd3417d33e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12b18acbbe688194656cab5cc3724262d51dfed59f4068eb997555114ac2a337b8e9eb0731115bcbca8f7119f58617bffdfe0b68ae30018787d7e23ffece58de
|
7
|
+
data.tar.gz: 5ce181eb18f3e4d735c5e37d769fde665ca219aaa17fc3f76b26abcee82b500e6ab940d14cce3f125ce46e462ad5285869fc44fdd232e8bba29cd719aa992746
|
data/lib/trouble/middleware.rb
CHANGED
@@ -21,7 +21,7 @@ module Trouble
|
|
21
21
|
return [400, {}, ['']]
|
22
22
|
|
23
23
|
rescue => exception
|
24
|
-
logger.fatal [$!.class, $!.message, $!.backtrace[2..5]].join("\n")
|
24
|
+
::Trouble.config.logger.fatal [$!.class, $!.message, $!.backtrace[2..5]].join("\n")
|
25
25
|
::Trouble.notify exception
|
26
26
|
raise
|
27
27
|
end
|
data/lib/trouble/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trouble
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bukowskis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -95,4 +95,3 @@ signing_key:
|
|
95
95
|
specification_version: 4
|
96
96
|
summary: A generic abstraction layer for reporting errors and Exceptions.
|
97
97
|
test_files: []
|
98
|
-
has_rdoc:
|