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

OpenCyphal / pycyphal / 23563546523 / 1
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 25 Mar 2026 09:04PM UTC
Files 185
Run time 4s
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

25 Mar 2026 08:52PM UTC coverage: 93.394% (-0.01%) from 93.408%
23563546523.1

push

github

web-flow
Add option to hook into internal pycyphal errors (#377)

Currently, when pycyphal encounters an error in one of its background
asyncio tasks (e.g. a task receiving messages in the background), it
simply calls logger.exception. This is fine for debugging with a human
looking at the logs, but insufficient for production environments where
you need to react to unexpected problems — there is no way of knowing an
exception happened except by reading the logs.

This PR introduces set_internal_error_handler, which can be used to
register a global hook into pycyphal. This hook will receive all
background exceptions when they happen and can react to them as needed
(e.g. by raising a fatal error). When no hook is registered, the
behavior is unchanged — exceptions are simply logged.

---------

Co-authored-by: MAMMOTH BOT <pavels.bot@zubax.com>

1656 of 2027 branches covered (81.7%)

Branch coverage included in aggregate %.

14391 of 15155 relevant lines covered (94.96%)

0.95 hits per line

Source Files on job 23563546523.1
  • Tree
  • List 185
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23563546523
  • 7b00386c on github
  • Prev Job for on master (#21952286881.1)
  • Next Job for on master (#23567119190.1)
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