error context

This commit is contained in:
Ninja3047 2022-07-27 12:27:51 -04:00
parent 3ab01300b2
commit 37bdbae640
No known key found for this signature in database

View file

@ -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));
} }
}); });
} }