If downloading image for imgprint fails, also include its url in the 'error downloading' warning message

This commit is contained in:
UnknownShadow200 2020-09-10 19:13:23 +10:00
parent 4e5bfe5f22
commit d028d44ca5

View File

@ -111,7 +111,7 @@ namespace MCGalaxy.Network {
}
p.Message("Finished downloading.");
} catch (Exception ex) {
Logger.LogError("Error downloading", ex);
Logger.LogError("Error downloading " + url, ex);
p.Message("%WFailed to download from &f" + url);
return null;
}