Guys how we could shutdown ActorSystem based on throw exception in the main app
object Boot extends App{
implicit val system: ActorSystem = ActorSystem("Boot")
implicit val materializer: ActorMaterializer = ActorMaterializer()
throw new Exception("Boom!!!")
}
In this snippet actorSystem will be still alive and App will not stop