Skip to content

Commit

Permalink
Merge pull request #830 from universi-me/change#829/update-springboot…
Browse files Browse the repository at this point in the history
…-version-to-v340

change: update springboot version to 3.4.0
  • Loading branch information
julio-ufpb authored Sep 5, 2024
2 parents db89ca8 + b5b5d25 commit d193419
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.0-SNAPSHOT</version>
<version>3.4.0-SNAPSHOT</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>me.universi</groupId>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/me/universi/api/entities/Response.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ public static Response buildResponse(ThrowingConsumer<Response> completionHandle
response.success = true;
completionHandler.accept(response);
} catch (Exception e) {
// log error
e.printStackTrace();
response.success = false;
if(e.getClass().getPackageName().startsWith("me.universi")) { // is exception from this project
response.message = e.getMessage();
Expand Down

0 comments on commit d193419

Please sign in to comment.