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:
Vitor Pamplona
2023-08-27 19:17:58 -04:00
parent 6c54082a12
commit e1738a25a1

View File

@@ -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
} }
} }