print message to System.err because we want to see them on `systemctl status hacky`

master
BodgeMaster 2022-02-21 12:41:04 +01:00
parent b7b6c2bda9
commit aa0bcd3e99
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ public class QuizBackend {
static {
try (Connection connection = DriverManager.getConnection(dbName, dbUsername, dbPassword)) {
System.out.println("Database connected!");
System.err.println("Database connected!");
}
catch (SQLException e) {
System.err.println("Could not connect to DB.");