error context
This commit is contained in:
parent
3ab01300b2
commit
37bdbae640
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ pub fn start() {
|
||||||
pub fn encrypt_string(data: String) {
|
pub fn encrypt_string(data: String) {
|
||||||
spawn_local(async move {
|
spawn_local(async move {
|
||||||
if let Err(e) = do_encrypt(data.into_bytes()).await {
|
if let Err(e) = do_encrypt(data.into_bytes()).await {
|
||||||
log!(e.to_string());
|
log!(format!("[rs] Error encrypting string: {}", e));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue