mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-02 08:58:23 +02:00
fix draft decryption error
This commit is contained in:
parent
1b7ba3de01
commit
6b15a0db8e
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user