Skip to content

Commit 892e973

Browse files
dguggemosthjaeckle
authored andcommittedJan 11, 2018
add ditto headers to generic exception too
Signed-off-by: Dominik Guggemos <dominik.guggemos@bosch-si.com>
1 parent 74f9c4c commit 892e973

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎signals/commands/things/src/main/java/org/eclipse/ditto/signals/commands/things/ThingErrorResponse.java

+1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ public static ThingErrorResponse fromJson(final ThingErrorRegistry thingErrorReg
185185
HttpStatusCode.forInt(status).orElse(HttpStatusCode.INTERNAL_SERVER_ERROR))
186186
.message(errorMessage)
187187
.description(errorDescription)
188+
.dittoHeaders(dittoHeaders)
188189
.build();
189190
}
190191

0 commit comments

Comments
 (0)
Please sign in to comment.