LOGGER.info("DittoJsonException in gateway RootRoute: {}", dittoJsonException.getMessage())); return complete(HttpResponse.create().withStatus(dittoJsonException.getStatusCode().toInt()) .withEntity(ContentTypes.APPLICATION_JSON, ByteString.fromString(dittoJsonException.toJsonString())));