Fix formatting for %d
%d should get an int value, but currently gets an Optional<Integer>. Fixed so that the %d gets the int value. Change-Id: Ib2d4f832a5283bf111210ea1ffe772881c939e09
This commit is contained in:
@@ -1692,7 +1692,7 @@ public class RestApiServlet extends HttpServlet {
|
||||
}
|
||||
|
||||
res.setStatus(statusCode.get());
|
||||
logger.atFinest().withCause(err).log("REST call finished: %d", statusCode);
|
||||
logger.atFinest().withCause(err).log("REST call finished: %d", statusCode.get().intValue());
|
||||
return replyText(req, res, true, msg.toString());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user