|
@@ -291,7 +291,9 @@ public class TransferFsImage {
|
|
|
|
|
|
int responseCode = connection.getResponseCode();
|
|
|
if (responseCode != HttpURLConnection.HTTP_OK) {
|
|
|
- throw new HttpPutFailedException(connection.getResponseMessage(),
|
|
|
+ throw new HttpPutFailedException(String.format(
|
|
|
+ "Image uploading failed, status: %d, url: %s, message: %s",
|
|
|
+ responseCode, urlWithParams, connection.getResponseMessage()),
|
|
|
responseCode);
|
|
|
}
|
|
|
} catch (AuthenticationException e) {
|