mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-20 02:00:57 +02:00
Do a warning log and not an error log for verification fails (it usually happens in stringified JSON inside .content)
This commit is contained in:
@@ -218,7 +218,7 @@ open class Event(
|
||||
return try {
|
||||
hasCorrectIDHash() && hasVerifedSignature()
|
||||
} catch (e: Exception) {
|
||||
Log.e("Event", "Event $id does not have a valid signature: ${toJson()}", e)
|
||||
Log.w("Event", "Event $id does not have a valid signature: ${toJson()}", e)
|
||||
false
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user