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

DonnchaC / onionbalance / 203

Build:
DEFAULT BRANCH: develop
Ran 28 Apr 2017 05:54PM UTC
Jobs 1
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

pending completion
203

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

9 of 9 new or added lines in 2 files covered. (100.0%)

303 of 876 relevant lines covered (34.59%)

0.35 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
onionbalance/instance.py
8
100.0
onionbalance/eventhandler.py
Jobs
ID Job ID Ran Files Coverage
1 203.1 (TOXENV=py27 TEST=functional) 28 Apr 2017 05:54PM UTC 0
34.59
Travis Job 203.1
Source Files on build 203
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #203
  • Pull Request #64
  • PR Base - develop (#193)
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