Skip to content

Commit

Permalink
Add extra log lines (#17336)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau committed Sep 28, 2022
1 parent ff4ea39 commit f178e84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ private void runInternal(final DefaultAsyncStateManager asyncStateManager) {
// required to kill clients with thread pools
System.exit(0);
} catch (final Throwable t) {
log.error("Killing orchestrator because of an Exception", t);
asyncStateManager.write(kubePodInfo, AsyncKubePodStatus.FAILED);
System.exit(1);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ private int computeExitValue() {
return 0;
} else {
// otherwise, the actual pod is terminal when the doc store says it shouldn't be.
log.info("The current non terminal state is {}", secondDocStoreStatus);
log.warn("State Store missing status, however orchestrator pod {} in terminal. Assume failure.", getInfo().name());
return 1;
}
Expand Down

0 comments on commit f178e84

Please sign in to comment.