mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
* Added card name and set abbr. to error message if download failed.
This commit is contained in:
parent
f3707e1f53
commit
9ff1f60903
1 changed files with 1 additions and 1 deletions
|
|
@ -589,7 +589,7 @@ public class DownloadPictures extends DefaultBoundedRangeModel implements Runnab
|
|||
temporaryFile.delete();
|
||||
}
|
||||
} else {
|
||||
logger.warn("Image download failed - responseCode: " + responseCode + " url: " + url.toString());
|
||||
logger.warn("Image download for " + card.getName() + "("+card.getSet()+") failed - responseCode: " + responseCode + " url: " + url.toString());
|
||||
if (logger.isDebugEnabled()) { // Shows the returned html from the request to the web server
|
||||
logger.debug("Return ed HTML ERROR:\n" + convertStreamToString(((HttpURLConnection) httpConn).getErrorStream()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue