• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pboling / debug_logging / 9053546425

12 May 2024 06:56PM UTC coverage: 95.493% (+3.0%) from 92.479%
9053546425

push

github

web-flow
Release/v4.0.2 (#127)

* 🧑‍💻 Allow byebug by default

* 🔖 Prepare CHANGELOG.md for v4.0.2

* 🐛 Prevent final empty {} in logs from empty kwargs

* 🔨 RegexHelpers for specs

* 🐛 add undeclared runtime dependency version_gem

* 📝 Improve documentation

* ⬆️ Upgrade development dependencies

* 🧑‍💻 Give anonymous test classes names

* 🧑‍💻 Give anonymous test classes names

* ✨ LambDart - DRY Class and Instance Loggers

- `error_handler_proc` support for method signatures with kwargs

* ♻️ Refactor test suite

* ♻️ Refactored ActiveSupport::Notification integration (DRY)

- Increase test coverage to 97%

* 🚨 Linting

* 🐛 Require forwardable for Ruby 3.2+

* 🔖 Prepare release v4.0.2

* 💚 Fix flaky expectation

144 of 162 branches covered (88.89%)

Branch coverage included in aggregate %.

211 of 214 new or added lines in 22 files covered. (98.6%)

640 of 659 relevant lines covered (97.12%)

130.85 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

86.67
/lib/debug_logging/lamb_darts/error_handle.rb
1
module DebugLogging
1✔
2
  module LambDarts
1✔
3
    module ErrorHandle
1✔
4
      def _dl_ld_error_handle(ld)
1✔
5
        if ld.config_proxy.error_handler_proc
216✔
6
          begin
4✔
7
            yield
4✔
8
          rescue StandardError => e
2✔
9
            if ld.error_handler_proc
2✔
10
              ld.error_handler_proc.call(
2✔
11
                ld.config_proxy,
12
                e,
13
                self,
14
                ld.decorated_method,
15
                *ld.args,
16
                **ld.kwargs,
17
              )
18
            else
×
NEW
19
              raise e
×
20
            end
21
          end
22
        else
212✔
23
          yield
212✔
24
        end
25
      end
26
    end
27
  end
28
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc