Skip to content

Commit

Permalink
removed forgotten debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 committed Jun 7, 2023
1 parent 4da0a94 commit d26a5db
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src-tauri/src/app/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,7 @@ async fn terminate(app_state: tauri::State<'_, AppState>) -> Result<(), String>
#[tauri::command]
async fn refresh(account_data: MinecraftAccount) -> Result<MinecraftAccount, String> {
let account = account_data.refresh().await
.map_err(|e| {
error!("unable to refresh: {:?}", e);
format!("unable to refresh: {:?}", e)
})?;
.map_err(|e| format!("unable to refresh: {:?}", e))?;
Ok(account)
}

Expand Down

0 comments on commit d26a5db

Please sign in to comment.