Skip to content

Commit edd8544

Browse files
committed
Minor refactoring
1 parent c060602 commit edd8544

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/in/erail/route/OpenAPI3RouteBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ public void process(RoutingContext pRequestContext, String pServiceUniqueId) {
5656
.setStatusCode(200)
5757
.end(reply.result().body().toString());
5858
} else {
59-
getLog().debug(() -> "Error in reply:" + reply.cause().toString());
59+
getLog().error(() -> "Error in reply:" + reply.cause().toString());
6060
pRequestContext
6161
.response()
6262
.setStatusCode(400)
63-
.end();
63+
.end(reply.cause().toString());
6464
}
6565
});
6666

0 commit comments

Comments
 (0)