Added a toggle to disable prefixing upstream-service error messages. This happens when upstream respond with a non-string error message like { message: 'We are unable to process your request, please try again later', status: 400 }, Brakes then adds a prefix, the message becomes [Breaker: myservice] [object] [object] which is not helpful and can't be processed or used to display to the end-user.
Added a toggle to disable prefixing upstream-service error messages. This happens when upstream respond with a non-string error message like
{ message: 'We are unable to process your request, please try again later', status: 400 }
, Brakes then adds a prefix, the message becomes[Breaker: myservice] [object] [object]
which is not helpful and can't be processed or used to display to the end-user.