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:
Gal Paikin
2019-12-09 19:42:25 +01:00
parent 1b3d68e0cf
commit 1979267a8a

View File

@@ -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());
}