logster 2.9.0 → 2.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61774974e308d9eab5c71dc8cb7c13a10af42db37a58b95505ce9d83c031e1a5
4
- data.tar.gz: a01ee1d384c6c02b3cf57dbc46ba4548ceafe10c61bb4ae3bf9565b90389609c
3
+ metadata.gz: 9032c8507086eb877d7625f3590c261b14a230a5dc7715ef137a5cbcc25a4110
4
+ data.tar.gz: 728a25b56e427715672bd5071125cf5cc168e5f8e6a521445bb2179f07d29254
5
5
  SHA512:
6
- metadata.gz: a0a57f5ecc1f59407c280ac2718a12ad52b237ed3adaa88c3fe6ad106dfd536ed2a8f73fd75f93e013113d92ad2c648affe5ea765c1003a13c92c6a2f88da900
7
- data.tar.gz: 052ef5b9f58d8db5f02cd7264801cb3bb3cce1c7cda675044654328e44f5fb9a3717b5b3033c358b6d5ab93a80501eeaf3f8698de20a8f08aabfdda15ea43d8c
6
+ metadata.gz: 87746d8b220b4980426c3b4979f4444210eefcc9ca1079e87baac4742c85fd87b78f472217487aa703fcf7f350236a9ba3cba6b4e2e49effeaf3ba764e9e23d3
7
+ data.tar.gz: f7b165df51ae59826a003ec2839a61cd1516cc7e9fee908f8b73b6872ccb9add5aa491a770189ce40d5b3d9e4534fdab5056a83304448d848a30578f7fcc9084
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ - 2020-07-20: 2.9.1
4
+
5
+ - FIX: Missing application backtrace in chained loggers.
6
+
3
7
  - 2020-06-11: 2.9.0
4
8
 
5
9
  - FEATURE: Allows JS errors to specify a log severity
@@ -14,13 +14,11 @@ class Logster::Middleware::DebugExceptions < ActionDispatch::DebugExceptions
14
14
  exception = wrapper.exception
15
15
 
16
16
  Logster.config.current_context.call(env) do
17
- location = exception.backtrace[0]
18
-
19
17
  Logster.logger.add_with_opts(
20
18
  ::Logger::Severity::FATAL,
21
- "#{exception.class} (#{exception})\n#{location}",
19
+ "#{exception.class} (#{exception})\n#{wrapper.application_trace.join("\n")}",
22
20
  "web-exception",
23
- backtrace: exception.backtrace.join("\n"),
21
+ backtrace: wrapper.full_trace.join("\n"),
24
22
  env: env
25
23
  )
26
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Logster
4
- VERSION = "2.9.0"
4
+ VERSION = "2.9.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logster
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-11 00:00:00.000000000 Z
11
+ date: 2020-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler