fixing, nothing works lmao

This commit is contained in:
filipriec
2025-04-18 20:48:39 +02:00
parent 5a029283a1
commit d3fcb23e22
18 changed files with 48 additions and 39 deletions

View File

@@ -280,7 +280,7 @@ impl EventHandler {
}
UiContext::Register => {
match index {
0 => register::save(register_state, &mut self.auth_client, app_state).await?,
0 => register::save(register_state, &mut self.auth_client, app_state).await.context("Register save action failed")?,
1 => register::back_to_login(register_state, app_state, buffer_state).await,
_ => "Invalid Login Option".to_string(),
}
@@ -534,7 +534,7 @@ impl EventHandler {
}
Err(e) => {
// Handle error from the edit handler
return Err(e);
return Err(e.into());
}
}
}, // End AppMode::Edit