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

danielstocks / yak / 11
100%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2015 07:57PM UTC
Jobs 1
Files 2
Run time 0s
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
11

push

travis-ci

danielstocks
Added improved error handling

1. You can now set a custom error handler that will handle
all cases of rejections in Yak promises.

```
yak.onError(function(error, status) {
  console.log("do something special!");
  return error;
});
```

Useful for handling generic cases when API is returning a 500 or 404
status for instance

2. Made sure that Yak only tries to parse JSON if the
content type returned is JSON, otherwise treat it as text.

45 of 46 relevant lines covered (97.83%)

1.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11.1 28 Oct 2015 07:57PM UTC 0
97.83
Travis Job 11.1
Source Files on build 11
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11
  • 04457097 on github
  • Prev Build on master (#10)
  • Next Build on master (#12)
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