Skip to content

Commit 2578f8a

Browse files
committed
Reporters Command should abort when no connection is possible
1 parent 0733e11 commit 2578f8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/utplsql/cli/ReportersCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public int run() {
4747
}
4848
catch ( DatabaseNotCompatibleException | UtPLSQLNotInstalledException | DatabaseConnectionFailed | IllegalArgumentException e ) {
4949
System.out.println(e.getMessage());
50+
return 1;
5051
}
5152
catch (Exception e) {
5253
e.printStackTrace();

0 commit comments

Comments
 (0)