Do not throw errors on shutdown

This commit is contained in:
Enrico Olivelli
2023-05-17 16:52:34 +02:00
parent 82e899c828
commit 7f3e24d086

View File

@@ -88,8 +88,7 @@ public class VeniceSpace implements AutoCloseable {
client.close();
}
catch (Exception e) {
e.printStackTrace();
throw new RuntimeException("Unexpected error when shutting down NB S4J space.");
logger.error("Unexpected error when shutting down NB S4J space.", e);
}
}