A HTTPErrorCodeException gets ignored when wrapped inside a ServiceException

Description

Code should be able to throw a HTTPErrorCodeException pretty much anywhere and have that code honored, however, if the exception gets wrapped in a ServiceException on its way up, then the error code won't be applied.

There is a simple bug in the Dispatcher logic that needs fixing

Environment

None

Activity

Show:
Andrea Aime
November 18, 2015, 6:04 PM

Committed on master. Calling it a day for the moment, as it touches a very core part of the code. Will backport if needed later.

Andrea Aime
February 15, 2017, 11:48 AM

Mass closing all resolved issues not modified in the last 4 weeks

Fixed

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium