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

typhonius / acquia-php-sdk-v2 / 298 / 2
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: php73
DEFAULT BRANCH: master
Ran 08 Jan 2020 12:14PM UTC
Files 82
Run time 5s
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

08 Jan 2020 12:12PM UTC coverage: 98.528% (-0.4%) from 98.892%
298.2

Pull #39

travis-ci

web-flow
Adds final test case and resends the Exception.

The reason I have chosen to throw an exception
instead of catching the exception and printing
a message is twofold.

Firstly, we cannot test the use of an exit()
or die() that would be required to catch the
error and present a message alerting the user
of the issue.

Secondly, by handling the error, it prevents
consumming libraries from easily detecting an
error has been thown and handling it gracefully.

Both of these reasons have lead me to determining
that Exceptions should be handled in code by
consuming libraries. I'll document this on the
README so users can handle the exceptions if they
wish. I'll also have to use this in Acquia Cli
and Acquia Logstream. I don't catch errors in
these at all right now so it would be an
enhancement!
Pull Request #39: Catches API errors to display more cleanly.

803 of 815 relevant lines covered (98.53%)

4.36 hits per line

Source Files on job 298.2
  • Tree
  • List 0
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 270
  • Travis Job 298.2
  • bf1d3315 on github
  • Prev Job for on catch-api-errors (#286.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