1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-04 07:39:39 +00:00

add special error type for device and secure sorages

This commit is contained in:
2025-05-25 13:33:15 +06:00
parent 172f49fa6b
commit c13a0d3193
3 changed files with 57 additions and 29 deletions

View File

@@ -39,7 +39,7 @@ if ((project.hasProperty('SONATYPE_USER') || System.getenv('SONATYPE_USER') != n
.build()
def uploadResponse = client.send(uploadRequest, HttpResponse.BodyHandlers.ofString())
if (uploadResponse.statusCode() != 200) {
throw IllegalStateException("Faced error of uploading for repo with key $it. Response: $uploadResponse")
throw new IllegalStateException("Faced error of uploading for repo with key $it. Response: $uploadResponse")
}
}
}