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

DonnchaC / onionbalance / 202 / 2
35%
develop: %

Build:
Build:
LAST BUILD BRANCH: pytest-3-x
DEFAULT BRANCH: develop
Ran 28 Apr 2017 05:53PM UTC
Files 14
Run time 1s
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

28 Apr 2017 05:29PM UTC coverage: 34.589% (-0.2%) from 34.828%
TOXENV=py35 TEST=functional

push

travis-ci

DonnchaC
Catch potential exceptions in the Stem event handler

The Stem Tor control port library starts an event notifier thread and
makes callbacks to the OnionBalance daemon with new events. If an
unhandled exception occurs in an event callback the event notifier
thread will crash. This will prevent OnionBalance getting new descriptor
updates and eventual the onion service will go offline.

This commit adds a `try: except` block around both event callback
functions which should gracefully handle unexpected errors in the
event notifier thread.

303 of 876 relevant lines covered (34.59%)

0.35 hits per line

Source Files on job 202.2 (TOXENV=py35 TEST=functional)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 202
  • Travis Job 202.2
  • 349c620a on github
  • Prev Job for TOXENV=py35 TEST=functional on fix/62-old-descriptor-crash (#200.2)
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