From 3e8a812a2c2bf5644ecc53bf79f42129d5bdb174 Mon Sep 17 00:00:00 2001 From: Niranjan Rajendran Date: Mon, 31 Aug 2015 22:04:15 +0530 Subject: [PATCH] Catch an Exception. Fix possible crash ;) --- app/src/main/java/com/njlabs/showjava/ui/Landing.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/njlabs/showjava/ui/Landing.java b/app/src/main/java/com/njlabs/showjava/ui/Landing.java index 5122fdc8..30abff53 100644 --- a/app/src/main/java/com/njlabs/showjava/ui/Landing.java +++ b/app/src/main/java/com/njlabs/showjava/ui/Landing.java @@ -272,7 +272,7 @@ private void cleanOldSources() { try { FileUtils.cleanDirectory(file); file.delete(); - } catch (IOException e) { + } catch (Exception e) { Ln.d(e); } }