Skip to content

Commit 242904a

Browse files
committed
Merge
2 parents 98204eb + 97e6bfb commit 242904a

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

amethyst/src/main/java/com/vitorpamplona/amethyst/model/Account.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3651,7 +3651,8 @@ class Account(
36513651
} catch (e: Exception) {
36523652
Log.w(
36533653
"Account",
3654-
"Failed to restore persisted Marmot message for $groupId: ${e.message}",
3654+
"Failed to restore persisted Marmot message for $groupId",
3655+
e,
36553656
)
36563657
}
36573658
}

amethyst/src/main/java/com/vitorpamplona/amethyst/model/LocalCache.kt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2276,20 +2276,18 @@ object LocalCache : ILocalCache, ICacheProvider {
22762276
// the wallet service we sent the request to. The pending
22772277
// entry is left in place so the real response can still
22782278
// resolve it; we silently drop this one.
2279-
Log.w(
2280-
"LocalCache",
2279+
Log.w("LocalCache") {
22812280
"Rejecting NWC response ${event.id}: expected author ${match.expected} but event was signed by ${match.actual}. " +
2282-
"This may be a spoofed reply — keeping the request pending for the legitimate wallet response.",
2283-
)
2281+
"This may be a spoofed reply — keeping the request pending for the legitimate wallet response."
2282+
}
22842283
return false
22852284
}
22862285

22872286
NwcPaymentTracker.MatchResult.NoMatch -> {
2288-
Log.w(
2289-
"LocalCache",
2287+
Log.w("LocalCache") {
22902288
"NWC response ${event.id} from ${event.pubKey} references request e=$requestId but no pending request is registered. " +
2291-
"The response was either delivered after timeout, the user holds a stale subscription, or the wallet service set the wrong e tag.",
2292-
)
2289+
"The response was either delivered after timeout, the user holds a stale subscription, or the wallet service set the wrong e tag."
2290+
}
22932291
return false
22942292
}
22952293
}

quartz/src/commonMain/kotlin/com/vitorpamplona/quartz/nip72ModCommunities/approval/CommunityPostApprovalEvent.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class CommunityPostApprovalEvent(
7676
Log.w(
7777
"CommunityPostEvent",
7878
"Failed to Parse Community Approval Contained Post of $id with $content",
79+
e,
7980
)
8081
null
8182
}

0 commit comments

Comments
 (0)