fix draft decryption error
This commit is contained in:
@@ -78,7 +78,13 @@ class DraftEvent(
|
|||||||
onReady: (Event) -> Unit,
|
onReady: (Event) -> Unit,
|
||||||
) {
|
) {
|
||||||
try {
|
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) {
|
} catch (e: Exception) {
|
||||||
// Log.e("UnwrapError", "Couldn't Decrypt the content", e)
|
// Log.e("UnwrapError", "Couldn't Decrypt the content", e)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user