Reduces the size of log messages
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ class NostrClient(
|
|||||||
}.flowOn(Dispatchers.Default)
|
}.flowOn(Dispatchers.Default)
|
||||||
.stateIn(
|
.stateIn(
|
||||||
scope,
|
scope,
|
||||||
SharingStarted.Companion.Eagerly,
|
SharingStarted.Eagerly,
|
||||||
activeRequests.relays.value + activeCounts.relays.value + eventOutbox.relays.value,
|
activeRequests.relays.value + activeCounts.relays.value + eventOutbox.relays.value,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ object Nip19Parser {
|
|||||||
|
|
||||||
return type!! + key
|
return type!! + key
|
||||||
} catch (e: Throwable) {
|
} 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
|
return null
|
||||||
@@ -103,7 +103,7 @@ object Nip19Parser {
|
|||||||
|
|
||||||
return parseComponents(type, key, additionalChars.ifEmpty { null })
|
return parseComponents(type, key, additionalChars.ifEmpty { null })
|
||||||
} catch (e: Throwable) {
|
} 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
|
return null
|
||||||
@@ -132,7 +132,7 @@ object Nip19Parser {
|
|||||||
ParseReturn(it, nip19, additionalChars)
|
ParseReturn(it, nip19, additionalChars)
|
||||||
}
|
}
|
||||||
} catch (e: Throwable) {
|
} 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
|
null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user