I have akka.coordinated-shutdown.exit-code = 1
.
If I execute ActorSystem(Behaviors.empty, "sys").terminate()
it will exit with code 1.
ActorSystem[Nothing](Behaviors.setup[Nothing](_ => {
throw new Exception("Aaaaa!")
Behaviors.empty
}), "sys")
Returns 0 (after logging " guardian failed, shutting down system")
How should I make exceptional failures return non-zero exit codes?
Ubuntu / Akka 2.6.16
2 posts - 1 participant