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

alexferl / zerohttp / 22881694130
94%

Build:
DEFAULT BRANCH: master
Ran 10 Mar 2026 12:45AM UTC
Jobs 1
Files 64
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Mar 2026 12:44AM UTC coverage: 93.325% (+0.03%) from 93.291%
22881694130

push

github

web-flow
fix: log JSON encoding errors instead of silently ignoring them (#52)

Previously, handleHandlerError() in router.go was silently ignoring JSON encoding errors using _ = json.NewEncoder(w).Encode(response).

Changes:
- Added log/global.go with GetGlobalLogger/SetGlobalLogger and NoopLogger
- Updated handleHandlerError to log encoding errors via global logger
- Added tests for global logger and JSON encoding error handling

Signed-off-by: alexferl <me@alexferl.com>

33 of 34 new or added lines in 2 files covered. (97.06%)

4 existing lines in 1 file now uncovered.

7913 of 8479 relevant lines covered (93.32%)

30.41 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.44
log/global.go

Coverage Regressions

Lines Coverage ∆ File
4
92.99
0.0% sse.go
Jobs
ID Job ID Ran Files Coverage
1 22881694130.1 10 Mar 2026 12:45AM UTC 64
93.32
GitHub Action Run
Source Files on build 22881694130
  • Tree
  • List 64
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22881694130
  • 9d55e041 on github
  • Prev Build on master (#22880726309)
  • Next Build on master (#22881896488)
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