[fleet] remove localizedMessage usages

GitOrigin-RevId: b6cd4cc16f35a3870d82db8b6b09f54df782b71f
This commit is contained in:
Sergei Sysoev
2025-02-05 01:10:44 +00:00
committed by intellij-monorepo-bot
parent 3c3585d871
commit 6ba78e764e
@@ -95,7 +95,7 @@ fun <T> CoroutineScope.connectionLoopOld(
if (reason != null) {
ConnectionLoop.logger.info(reason.takeIf { ConnectionLoop.logger.isDebugEnabled }) {
"Connection by <$connectionJobName> lost. Cause=${reason.causes().joinToString { it.localizedMessage ?: it.toString() }}\n" +
"Connection by <$connectionJobName> lost. Cause=${reason.causes().joinToString { it.message ?: it.toString() }}\n" +
"Consider increasing logging level to DEBUG for ${ConnectionLoop::class.qualifiedName}"
}
}