The PDF uploader currently reports errors of the type:
WARNING: A connection to ... was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
This is because we are not closing the response, we address that here. This should not cause issues currently as the low volume and lambda environment mean that leaking the connection should not be an issue, in any case we should remove the error log.
How to test
[x] Deploy to CODE, ensure this message is not visible.
What does this change?
The PDF uploader currently reports errors of the type:
This is because we are not closing the response, we address that here. This should not cause issues currently as the low volume and lambda environment mean that leaking the connection should not be an issue, in any case we should remove the error log.
How to test
How can we measure success?
Cleaner logs.