Catch Throwable instead of Exception

This commit is contained in:
seven332 committed 2018-12-20 16:02:56 +08:00
1 parent 8c3796605e
commit bfd85e9bc7
17 files changed
+179 -113

No files matched your search

@@ -40,7 +40,8 @@ public final class PackageUtils {
} else {
Log.e(TAG, "Can't find signature in package " + packageName);
}
} catch (Exception e) {
} catch (Throwable e) {
ExceptionUtils.throwIfFatal(e);
Log.e(TAG, "Can't find package " + packageName, e);
}
return null;