Skip to content

Commit

Permalink
Merge pull request #139 from yvasyliev/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
yvasyliev committed Oct 31, 2022
2 parents b437e8c + ce6a6ea commit 879dfee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This library uses the next third-party dependencies:
<dependency>
<groupId>com.github.yvasyliev</groupId>
<artifactId>java-vk-bots-longpoll-api</artifactId>
<version>3.5.2</version>
<version>3.5.3</version>
</dependency>
```
4. Extend `LongPollBot` class and override necessary methods:
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>com.github.yvasyliev</groupId>
<artifactId>java-vk-bots-longpoll-api</artifactId>
<packaging>jar</packaging>
<version>3.5.2</version>
<version>3.5.3</version>
<name>Java VK Bots Long Poll API</name>
<description>A Java library to create VK bots using Bots Long Poll API</description>
<url>https://github.com/yvasyliev/java-vk-bots-long-poll-api</url>
Expand All @@ -29,7 +29,7 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.9.1</version>
<version>2.10</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/api/longpoll/bots/methods/impl/VkMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public ResponseBody execute() throws VkApiException {
if (responseBodyValidator.test(response.getBody())) {
return gson.fromJson(response.getBody(), getResponseClass());
}
throw new VkApiResponseException(response.toString());
throw new VkApiResponseException(response.getBody());
} catch (IOException e) {
throw new VkApiException(e);
}
Expand Down

0 comments on commit 879dfee

Please sign in to comment.