mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-03 20:53:30 +02:00
Reduces the size of log messages
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user