mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JPS caches: fail on non-200 code: revert for PUT
GitOrigin-RevId: 39eaecdf71396d08081bf1eca62d63242726eb00
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a05fc67046
commit
683d048bc6
-5
@@ -158,11 +158,6 @@ class CompilationPartsUploader implements Closeable {
|
||||
|
||||
response = myHttpClient.execute(request)
|
||||
|
||||
if (response.statusLine.statusCode != HttpStatus.SC_OK) {
|
||||
def responseString = EntityUtils.toString(response.getEntity(), ContentType.APPLICATION_JSON.charset)
|
||||
myMessages.error("PUT $url failed with $response.statusLine.statusCode: $responseString")
|
||||
}
|
||||
|
||||
EntityUtils.consume(response.getEntity())
|
||||
return response.getStatusLine().getStatusCode()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user