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

projectatomic / osbs-client / 4037 / 6
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 16 May 2018 02:28PM UTC
Files 25
Run time 3s
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

15 May 2018 01:11PM UTC coverage: 84.065% (+0.4%) from 83.645%
OS=fedora OS_VERSION=27 PYTHON_VERSION=3

push

travis-ci

mlangsdorf
HttpResponse: better error message when json is corrupt

Currently, if the json string received from a _get is corrupt and
can't be converted, the json package raises a cryptic message about
extra data, but doesn't provide the bad string.

Catch that exception and raise an error with more detail about what
went wrong and the full string that was being loaded.

This doesn't fix osbs-5424, but will hopefully make it easier to
determine what went wrong the next time someone sees a similar failure.

Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>

3962 of 4713 relevant lines covered (84.07%)

0.84 hits per line

Source Files on job 4037.6 (OS=fedora OS_VERSION=27 PYTHON_VERSION=3)
  • Tree
  • List 0
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3859
  • Travis Job 4037.6
  • b92caa6f on github
  • Prev Job for OS=fedora OS_VERSION=27 PYTHON_VERSION=3 on master (#4003.6)
  • Next Job for OS=fedora OS_VERSION=27 PYTHON_VERSION=3 on master (#4038.6)
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