Skip to content

Commit

Permalink
add ditto headers to generic exception too
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Guggemos <dominik.guggemos@bosch-si.com>
  • Loading branch information
dguggemos authored and thjaeckle committed Jan 11, 2018
1 parent 74f9c4c commit 892e973
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ public static ThingErrorResponse fromJson(final ThingErrorRegistry thingErrorReg
HttpStatusCode.forInt(status).orElse(HttpStatusCode.INTERNAL_SERVER_ERROR))
.message(errorMessage)
.description(errorDescription)
.dittoHeaders(dittoHeaders)
.build();
}

Expand Down

0 comments on commit 892e973

Please sign in to comment.