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

NodeBB / NodeBB / 24083175782

07 Apr 2026 01:11PM UTC coverage: 85.418% (-0.01%) from 85.43%
24083175782

push

github

web-flow
fix: use file.exists instead of try/catch to detect missing email logo (#14154)

The previous ENOENT check in getLogoSize never worked because image.size
passes the path directly to sharp, which throws a plain Error with message
"Input file is missing" rather than a Node.js ENOENT error. This caused
saving any admin settings to fail when brand:logo was set but the x50 file
was missing (e.g. after a fresh deployment).

13447 of 18455 branches covered (72.86%)

1 of 6 new or added lines in 1 file covered. (16.67%)

5 existing lines in 2 files now uncovered.

28404 of 33253 relevant lines covered (85.42%)

3337.87 hits per line

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

78.38
/src/database/postgres/helpers.js


Source Not Available

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