mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-20 18:40:54 +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 {
|
return try {
|
||||||
hasCorrectIDHash() && hasVerifedSignature()
|
hasCorrectIDHash() && hasVerifedSignature()
|
||||||
} catch (e: Exception) {
|
} 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
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user