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

DonnchaC / onionbalance / 202
35%
develop: %

Build:
Build:
LAST BUILD BRANCH: pytest-3-x
DEFAULT BRANCH: develop
Ran 28 Apr 2017 05:51PM UTC
Jobs 4
Files 14
Run time 2min
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
202

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.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 202.1 (TOXENV=py27 TEST=functional) 28 Apr 2017 05:53PM UTC 0
34.59
Travis Job 202.1
2 202.2 (TOXENV=py35 TEST=functional) 28 Apr 2017 05:53PM UTC 0
34.59
Travis Job 202.2
3 202.3 (TOXENV=style) 28 Apr 2017 05:51PM UTC 0
Travis Job 202.3
4 202.4 (TOXENV=docs) 28 Apr 2017 05:51PM UTC 0
Travis Job 202.4
Source Files on build 202
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #202
  • 349c620a on github
  • Prev Build on fix/62-old-descriptor-crash (#200)
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