H2: Don't show stack trace when failing to build BloomFilter
Only show the exception message. Change-Id: I210ed24e5baaf4f7b6f62f10f5c0fa448e9079d8
This commit is contained in:
@@ -388,7 +388,7 @@ public class H2CacheImpl<K, V> extends AbstractLoadingCache<K, V> implements
|
|||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
log.warn("Cannot build BloomFilter for " + url, e);
|
log.warn("Cannot build BloomFilter for " + url + ": " + e.getMessage());
|
||||||
c = close(c);
|
c = close(c);
|
||||||
return null;
|
return null;
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user