suppress warning

This commit is contained in:
Shinsuke Sugaya 2018-08-09 09:59:45 +09:00
parent aa050e49b2
commit 5e6254b176

View file

@ -192,7 +192,9 @@ public class DocumentHelper {
new BufferedReader(new InputStreamReader(new GZIPInputStream(new ByteArrayInputStream(decode)), Constants.UTF_8))) {
return ReaderUtil.readText(reader);
} catch (final IOException e) {
logger.warn("Failed to decode " + hash, e);
if (logger.isDebugEnabled()) {
logger.debug("Failed to decode " + hash, e);
}
}
}
return hash;