Skip to content

Commit d4fd260

Browse files
Tibor Eszesmetacosm
authored andcommitted
Change server version error to exception rather that system stop call
1 parent eb78143 commit d4fd260

File tree

1 file changed

+1
-1
lines changed
  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator

1 file changed

+1
-1
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/Operator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void start() {
5252
}
5353
} catch (Exception e) {
5454
log.error("Error retrieving the server version. Exiting!", e);
55-
System.exit(1);
55+
throw new OperatorException("Error retrieving the server version");
5656
}
5757
}
5858

0 commit comments

Comments
 (0)