bbc / alephant-broker

Brokers requests for alephant components
MIT License
4 stars 3 forks source link

[Bug] Toggle Stack Trace #27

Closed revett closed 9 years ago

revett commented 9 years ago

Problem

Currently when an error occurs in a batch request, the stack trace of the exception is included in the body of the JSON response.

Solution

Toggle this behaviour based on a debug value in the config hash handed to the Broker (defaults to false).

image.gif

revett commented 9 years ago

:cake: