This commit is contained in:
Vitor Pamplona
2024-04-05 11:19:23 -04:00
5 changed files with 40 additions and 2 deletions
@@ -78,7 +78,13 @@ class DraftEvent(
onReady: (Event) -> Unit,
) {
try {
plainContent(signer) { onReady(fromJson(it)) }
plainContent(signer) {
try {
onReady(fromJson(it))
} catch (e: Exception) {
// Log.e("UnwrapError", "Couldn't Decrypt the content", e)
}
}
} catch (e: Exception) {
// Log.e("UnwrapError", "Couldn't Decrypt the content", e)
}