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

primeobsession / opengraph-io / 18
91%

Build:
DEFAULT BRANCH: master
Ran 03 Aug 2017 05:45PM UTC
Jobs 1
Files 1
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
18

Pull #1

travis-ci

web-flow
Return rejected promise

Just throwing the error causes the following error in at least node `v8.1.4`:
```
(node:15749) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): StatusCodeError: 500 - {"error":"Testing error"}
(node:15749) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
```
even if you are catching the results of `getSiteInfo`.  Returning the rejected promise fixes that error while still allowing code that calls `getSiteInfo` to `.catch()` its results properly.
Pull Request #1: Return rejected promise

7 of 24 branches covered (29.17%)

1 of 1 new or added line in 1 file covered. (100.0%)

22 of 41 relevant lines covered (53.66%)

2.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
index.js

Uncovered Existing Lines

Lines Coverage ∆ File
16
100.0
index.js
Jobs
ID Job ID Ran Files Coverage
1 18.1 03 Aug 2017 05:45PM UTC 0
53.66
Travis Job 18.1
Source Files on build 18
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #18
  • Pull Request #1
  • PR Base - master (#17)
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