Tests: fixed error on missing db files;

This commit is contained in:
Oleg Agafonov 2018-10-12 22:19:45 +04:00
parent 0df97e5d4b
commit 9a4fb4adb1
2 changed files with 9 additions and 3 deletions

View file

@ -409,6 +409,7 @@ public final class ImageCache {
// legitimate, happens when a card has no image
return null;
} catch (ComputationException ex) {
// too low memory
if (ex.getCause() instanceof NullPointerException) {
return null;
}