Skip to content

Commit

Permalink
#30 updating system property
Browse files Browse the repository at this point in the history
  • Loading branch information
hlafaille committed Aug 12, 2024
1 parent 55e0312 commit 80291f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public boolean accepts(HttpRequest httpRequest) throws KindlingException {
@Override
public HttpResponse handleError(Throwable t) {
// if a kindling exception was thrown OR we're in allowExceptionsInErrorResponse mode
if (t instanceof KindlingException || System.getProperty("atc.http.allowExceptionsInErrorResponse").equals("true")) {
if (t instanceof KindlingException || System.getProperty("atc.http.stackTraceInErrorResponse").equals("true")) {
return new HttpResponse.Builder()
.status(HttpStatus.BAD_REQUEST)
.headers(new HashMap<>() {
Expand Down

0 comments on commit 80291f5

Please sign in to comment.