Print exception in ExceptionUtils.getReadableString()
I don't want to track all callings, just add it here
This commit is contained in:
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 ||
|
||||
|
||||
Reference in new issue
Block a user