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

release-engineering / pushsource / 462
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: use-https-for-errata
DEFAULT BRANCH: master
Ran 23 Jun 2021 05:26AM UTC
Jobs 1
Files 39
Run time 2s
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
462

push

travis-ci-com

rohanpm
koji: avoid some duplicate logs

In some error cases, a pattern was being used here like this:

- make an error message
- log the message as an ERROR
- raise exception with same message

The idea behind it is that, when raising the exception, we don't know
if anyone's going to catch it and log appropriately. If they don't,
then we may have created a situation we can't debug, and we'll surely
wish we had added that log message.

However, if the exception *is* caught and logged then this ends up with
duplicate messages.

Based on testing with Pub, the "duplicate message" case is more common,
so let's stop doing that and just raise the exception without logging an
error. We can still log as DEBUG, which will not show the message by
default but still gives us a way to enable the messages if needed.

1421 of 1421 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
3 462.3 (TOX_ENV=cov-travis DEPLOY=1) 23 Jun 2021 05:26AM UTC 0
100.0
Travis Job 462.3
Source Files on build 462
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #462
  • afee2db7 on github
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