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