show http error when download fails

This commit is contained in:
Xander committed 2017-10-01 10:38:40 +08:00
1 parent a630476be8
commit ad714fcf1c
1 file changed
+1 -1
@@ -199,7 +199,7 @@ public final class MekanismUtils
} catch(Exception e) {
result.clear();
result.add("null");
Mekanism.logger.error("An error occured while connecting to URL '" + urlToRead + ".'");
Mekanism.logger.error("An error occurred while connecting to URL '" + urlToRead + "'", e);
}
return result;