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

TykTechnologies / tyk / 8131
39%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 21 Jan 2020 02:28PM UTC
Jobs 1
Files 0
Run time –
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
8131

push

travis-ci

buger
Fix return overrides to override error bodies (#2815)

The previous PR https://github.com/TykTechnologies/tyk/pull/2731 contained an error, and always forced return custom error: which brakes backward compatibility.
In this PR I added tests covering all return overrides functionality and normalized its behavior for JSVM and Python.

Additionally, it use reverse logic now, and plugin needs set `ReturnOverrides.OverrideError` (JS) or `return_overrides.override_error` (Python) to `true` in order to override the body of response.

Additionally, I renamed `response_error` field to `response_body`, because it makes way more sense.
The old field still can be set for backward compatibility.

https://github.com/TykTechnologies/tyk/issues/2693
Jobs
ID Job ID Ran Files Coverage
2 8131.2 (LATEST_GO=true) 21 Jan 2020 02:28PM UTC 0
Travis Job 8131.2
Source Files on build 8131
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8131
  • ea166d20 on github
  • Prev Build on release-2.9 (#8115)
  • Next Build on release-2.9 (#8138)
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