Skip to content

Commit

Permalink
Throw exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldieeins committed Apr 17, 2024
1 parent da40d44 commit a16e3e4
Show file tree
Hide file tree
Showing 3 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 @@ -6,7 +6,7 @@

<groupId>com.zyneonstudios</groupId>
<artifactId>nexus-zyndex</artifactId>
<version>2024.4-beta.2</version>
<version>2024.4-beta.3</version>

<properties>
<maven.compiler.source>21</maven.compiler.source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ private void init(String json) {
}
} catch (Exception e) {
Main.logger.error("Couldn't initialize ReadableZyndex - JSON Format error: "+e.getMessage());
throw new RuntimeException(e);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ private void init(String json) {
}
} catch (Exception e) {
Main.logger.error("Couldn't initialize ReadableZynstance - JSON Format error: "+e.getMessage());
throw new RuntimeException(e);
}
}

Expand Down

0 comments on commit a16e3e4

Please sign in to comment.