Print exception in ExceptionUtils.getReadableString()

I don't want to track all callings, just add it here
This commit is contained in:
seven332 committed 2018-03-08 19:33:44 +08:00
1 parent 998f57f435
commit db63a8f05b
1 file changed
+1
@@ -38,6 +38,7 @@ public final class ExceptionUtils {
@NonNull
public static String getReadableString(@NonNull Exception e) {
e.printStackTrace();
if (e instanceof MalformedURLException) {
return GetText.getString(R.string.error_invalid_url);
} else if (e instanceof ConnectTimeoutException ||