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

SmartCourse / app / 1357 / 1
86%
dev: 86%

Build:
DEFAULT BRANCH: dev
Ran 07 Jan 2019 03:19AM UTC
Files 32
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

07 Jan 2019 03:15AM UTC coverage: 86.572% (-1.9%) from 88.516%
1357.1

push

travis-ci-com

DarkPurple141
API Error Handling 404/400s; no SQL spitout (#314)

* new basic error handler using express pattern

* working course missing 404

* cleaned up example of get handler and error handler on getCourse

* APIError constructor takes object param for clarity

* comments, moved 404 handle to model where it makes more sense

* method for throwing and translating SQL errors to APIErrors

* error numbers better defined and more unique, helper for sql errors

* controllers all updated with new getResponseHandler and error handling

* user 404s added

* amended some tests, added a bunch of error handling, lots of TODOs added

* truncated stack traces because they most contain node and express stuff

* authentication error helpers updated to throw APIErrors

* question and review errors with basic 404

* review test update and small comment changes

147 of 213 branches covered (69.01%)

Branch coverage included in aggregate %.

704 of 770 relevant lines covered (91.43%)

48369.09 hits per line

Source Files on job 1357.1
  • Tree
  • List 0
  • Changed 17
  • Source Changed 13
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1092
  • Travis Job 1357.1
  • 82f4ae74 on github
  • Prev Job for on dev (#1341.1)
  • Next Job for on dev (#1374.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