Log cases where we fall back to a no-op spam-reporting token provider

This commit is contained in:
Jon Chambers
2023-02-14 11:50:47 -05:00
committed by Jon Chambers
parent b041566aba
commit 7561622bc8

View File

@@ -735,6 +735,7 @@ public class WhisperServerService extends Application<WhisperServerConfiguration
}
if (reportSpamTokenProvider == null) {
log.warn("No spam-reporting token providers found; using default (no-op) provider as a default");
reportSpamTokenProvider = ReportSpamTokenProvider.noop();
}