Fix log strings

This commit is contained in:
zab2
2019-03-02 18:13:55 +00:00
parent f0b9986e67
commit 335736b2b7

View File

@@ -1346,12 +1346,12 @@ public class I2PTunnelHTTPClient extends I2PTunnelHTTPClientBase implements Runn
handleClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId);
} catch(I2PException ex) {
if(_log.shouldLog(Log.INFO)) {
_log.info("getPrefix(requestId) + Error trying to connect", ex);
_log.info(getPrefix(requestId) + "Error trying to connect", ex);
}
handleClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId);
} catch(OutOfMemoryError oom) {
IOException ex = new IOException("OOM");
_log.error("getPrefix(requestId) + Error trying to connect", oom);
_log.error(getPrefix(requestId) + "Error trying to connect", oom);
handleClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId);
} finally {
// only because we are running it inline