Reduces the size of log messages

This commit is contained in:
Vitor Pamplona
2025-08-28 13:53:22 -04:00
parent c366384a83
commit 0dc18cc98c
2 changed files with 4 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ class NostrClient(
}.flowOn(Dispatchers.Default)
.stateIn(
scope,
SharingStarted.Companion.Eagerly,
SharingStarted.Eagerly,
activeRequests.relays.value + activeCounts.relays.value + eventOutbox.relays.value,
)

View File

@@ -80,7 +80,7 @@ object Nip19Parser {
return type!! + key
} catch (e: Throwable) {
Log.e("NIP19 Parser", "Issue trying to Decode NIP19 $uri: ${e.message}", e)
Log.e("NIP19 Parser", "Issue trying to Decode NIP19 $uri: ${e.message}")
}
return null
@@ -103,7 +103,7 @@ object Nip19Parser {
return parseComponents(type, key, additionalChars.ifEmpty { null })
} catch (e: Throwable) {
Log.e("NIP19 Parser", "Issue trying to Decode NIP19 $uri: ${e.message}", e)
Log.e("NIP19 Parser", "Issue trying to Decode NIP19 $uri: ${e.message}")
}
return null
@@ -132,7 +132,7 @@ object Nip19Parser {
ParseReturn(it, nip19, additionalChars)
}
} catch (e: Throwable) {
Log.w("NIP19 Parser", "Issue trying to Decode NIP19 $key: ${e.message}", e)
Log.w("NIP19 Parser", "Issue trying to Decode NIP19 $key: ${e.message}")
null
}