mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-05-27 14:44:16 +00:00
Don't log empty alerts
This commit is contained in:
parent
ced9560040
commit
2a827f1285
@ -97,6 +97,9 @@ final class SignalWebSocketHealthMonitor implements HealthMonitor {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onReceivedAlerts(@NotNull final String[] strings, final boolean b) {
|
public void onReceivedAlerts(@NotNull final String[] strings, final boolean b) {
|
||||||
|
if (strings.length == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
logger.info("Received alerts: {}", String.join(", ", strings));
|
logger.info("Received alerts: {}", String.join(", ", strings));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user