error context

master
Ninja3047 2022-07-27 12:27:51 -04:00
parent 3ab01300b2
commit 37bdbae640
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ pub fn start() {
pub fn encrypt_string(data: String) {
spawn_local(async move {
if let Err(e) = do_encrypt(data.into_bytes()).await {
log!(e.to_string());
log!(format!("[rs] Error encrypting string: {}", e));
}
});
}