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

DonnchaC / onionbalance / 203 / 1

Build:
DEFAULT BRANCH: develop
Ran 28 Apr 2017 05:54PM UTC
Files 14
Run time 0s
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:49PM UTC coverage: 34.589% (-0.2%) from 34.828%
TOXENV=py27 TEST=functional

Pull #64

travis-ci

web-flow
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.
Pull Request #64: Fix exception when an out-of-date descriptor is received

303 of 876 relevant lines covered (34.59%)

0.35 hits per line

Source Files on job 203.1 (TOXENV=py27 TEST=functional)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 203
  • Travis Job 203.1
  • 81de882d on github
  • Prev Job for TOXENV=py27 TEST=functional on develop (#193.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