Fix one more place where the HTTP error code was lost

This commit is contained in:
Cameron Gutman 2020-04-18 18:03:29 -07:00
parent 73df93f86a
commit e7aeeb8bd5

View File

@ -331,7 +331,7 @@ public class NvHTTP {
throw new FileNotFoundException(url);
}
else {
throw new IOException("HTTP request failed: "+response.code());
throw new GfeHttpResponseException(response.code(), response.message());
}
}