Make exception message more understandable in FileDownloadTask

This commit is contained in:
huangyuhui
2018-09-01 23:38:32 +08:00
parent f2f0c96e62
commit cf6485aea8

View File

@@ -260,7 +260,7 @@ public class FileDownloadTask extends Task {
}
if (exception != null)
throw new IOException("Unable to download file " + currentURL, exception);
throw new IOException("Unable to download file " + currentURL + ". " + exception.getMessage(), exception);
}
}