From 04bf2e345beae36a512aa50b5b920a4af9345743 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 19 Jun 2015 08:24:21 -0700 Subject: Add warning log when failing to refresh album list --- .../main/java/github/daneren2005/dsub/service/CachedMusicService.java | 1 + 1 file changed, 1 insertion(+) (limited to 'app/src/main/java') diff --git a/app/src/main/java/github/daneren2005/dsub/service/CachedMusicService.java b/app/src/main/java/github/daneren2005/dsub/service/CachedMusicService.java index f161cac6..3bc7f2a3 100644 --- a/app/src/main/java/github/daneren2005/dsub/service/CachedMusicService.java +++ b/app/src/main/java/github/daneren2005/dsub/service/CachedMusicService.java @@ -489,6 +489,7 @@ public class CachedMusicService implements MusicService { FileUtil.serialize(context, dir, getCacheName(context, type, Integer.toString(offset))); return dir; } catch(IOException e) { + Log.w(TAG, "Failed to refresh album list: ", e); MusicDirectory dir = FileUtil.deserialize(context, getCacheName(context, type, Integer.toString(offset)), MusicDirectory.class); if(dir == null) { -- cgit v1.2.3