chore(subsystems/discord): catch runtime exception and log only message (#5063)

This commit is contained in:
Tobias Nett 2022-08-26 21:28:13 +02:00 committed by GitHub
parent 03023ad52c
commit 5e3d63f186
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,6 +188,9 @@ public void run() {
// Retry to connect again
}
} catch (RuntimeException e) {
logger.error("Could not create or connect Discord client: {}", e.getMessage());
return;
}
}
}