From fd7adec0ccc867c90177a90ae29ab5744997d585 Mon Sep 17 00:00:00 2001 From: Satoshi Qazi Muhammed Date: Wed, 8 Jul 2026 14:01:19 -0700 Subject: [PATCH] fix: wrap long ktlint-violating log line from previous commit Line exceeded the 160-char limit and had unwrapped arguments. --- .../network/updaters/ChainUpdaterGroupUpdateSystem.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/runtime/src/main/java/io/novafoundation/nova/runtime/network/updaters/ChainUpdaterGroupUpdateSystem.kt b/runtime/src/main/java/io/novafoundation/nova/runtime/network/updaters/ChainUpdaterGroupUpdateSystem.kt index 3d2f0b4b..15750566 100644 --- a/runtime/src/main/java/io/novafoundation/nova/runtime/network/updaters/ChainUpdaterGroupUpdateSystem.kt +++ b/runtime/src/main/java/io/novafoundation/nova/runtime/network/updaters/ChainUpdaterGroupUpdateSystem.kt @@ -67,7 +67,10 @@ abstract class ChainUpdaterGroupUpdateSystem( // Explicitly qualified: unqualified LOG_TAG here would resolve against the nearest implicit // receiver, which is this catch lambda's FlowCollector, not this class - Any.LOG_TAG applies to // any receiver, so it would silently compile but log the wrong (unhelpful) tag. - Log.e(this@ChainUpdaterGroupUpdateSystem.LOG_TAG, "Failed to start updaters in ${this@ChainUpdaterGroupUpdateSystem::class.java.simpleName} for ${chain.name}", error) + val outerLogTag = this@ChainUpdaterGroupUpdateSystem.LOG_TAG + val outerSelfName = this@ChainUpdaterGroupUpdateSystem::class.java.simpleName + + Log.e(outerLogTag, "Failed to start updaters in $outerSelfName for ${chain.name}", error) } } }