mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-26 22:26:26 +02:00
Simplifying logs
This commit is contained in:
@@ -276,9 +276,8 @@ object LocalCache {
|
|||||||
val pubKey = decodePublicKey(it.pubKeyHex)
|
val pubKey = decodePublicKey(it.pubKeyHex)
|
||||||
getOrCreateUser(pubKey.toHexKey())
|
getOrCreateUser(pubKey.toHexKey())
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
println("Could not parse Hex key: ${it.pubKeyHex}")
|
Log.w("ContactList Parser", "Ignoring: Could not parse Hex key: ${it.pubKeyHex} in ${event.toJson()}")
|
||||||
println("UpdateFollows: " + event.toJson())
|
//e.printStackTrace()
|
||||||
e.printStackTrace()
|
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
}.filterNotNull().toSet(),
|
}.filterNotNull().toSet(),
|
||||||
|
@@ -36,8 +36,8 @@ class Nip19 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e: Throwable) {
|
} catch (e: Throwable) {
|
||||||
println("Trying to Decode NIP19: ${uri}")
|
println("Issue trying to Decode NIP19 ${uri}: ${e.message}")
|
||||||
e.printStackTrace()
|
//e.printStackTrace()
|
||||||
}
|
}
|
||||||
|
|
||||||
return null
|
return null
|
||||||
|
Reference in New Issue
Block a user