summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/android/providers/media/MediaProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/providers/media/MediaProvider.java b/src/com/android/providers/media/MediaProvider.java
index 4cea4359f..69a9d0247 100644
--- a/src/com/android/providers/media/MediaProvider.java
+++ b/src/com/android/providers/media/MediaProvider.java
@@ -1586,8 +1586,8 @@ public class MediaProvider extends ContentProvider {
try {
MediaService.onScanVolume(getContext(), volume, REASON_IDLE);
- } catch (IOException e) {
- Log.w(TAG, e);
+ } catch (IOException | IllegalArgumentException e) {
+ Log.w(TAG, "Failure in " + volume.getName() + " volume scan", e);
}
// Ensure that our thumbnails are valid