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

SwissDataScienceCenter / renku-data-services / 9414861102
90%
main: 86%

Build:
Build:
LAST BUILD BRANCH: fix-solr-keywords-field-reindex
DEFAULT BRANCH: main
Ran 07 Jun 2024 09:47AM UTC
Jobs 2
Files 207
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

06 Jun 2024 01:00PM UTC coverage: 90.282% (+0.06%) from 90.225%
9414861102

push

github

web-flow
refactor: update exception logging in `CustomErrorHandler` (#246)

Fixes #245.

[Sanic exceptions have a `quiet` property](https://sanic.dev/en/guide/best-practices/exceptions.html#codequietcode) which is used to suppress logging. The custom error handler is updated to use Sanic's default `log()` method and our custom error classes now also have the `quiet` attribute.

Details:
* Add `quiet` attribute to `BaseError`
* Use the default `log()` method after the `formatted_exception` has been assigned in the `default` error handler.
* Re-order exceptions to be listed by ascending HTTP status code.
* Suppress "Preferences not found for user." messages.

40 of 41 new or added lines in 3 files covered. (97.56%)

2 existing lines in 2 files now uncovered.

8445 of 9354 relevant lines covered (90.28%)

1.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.55
0.0% components/renku_data_services/user_preferences/db.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
85.53
0.0% components/renku_data_services/crc/models.py
1
95.7
0.54% components/renku_data_services/storage/blueprints.py
Jobs
ID Job ID Ran Files Coverage
1 run-main-tests - 9414861102.1 07 Jun 2024 09:58AM UTC 207
89.51
GitHub Action Run
2 run-schemathesis-tests - 9414861102.2 07 Jun 2024 09:47AM UTC 207
70.64
GitHub Action Run
Source Files on build 9414861102
  • Tree
  • List 207
  • Changed 14
  • Source Changed 3
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #9414861102
  • 1e340ea3 on github
  • Prev Build on main (#9395882496)
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

© 2025 Coveralls, Inc