Skip to content

Commit

Permalink
fix: fix not return on error
Browse files Browse the repository at this point in the history
  • Loading branch information
kwkwc committed Jun 5, 2024
1 parent e817e19 commit 0a43a41
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/api_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ impl AGScheduler {
}
}
Err(err) => {
println!("Error: {}", err)
println!("Error: {}", err);
return;
}
}
let func_name = interaction.select_func_name(fn_selections);
Expand Down Expand Up @@ -184,7 +185,8 @@ impl AGScheduler {
}
}
Err(err) => {
println!("Error: {}", err)
println!("Error: {}", err);
return;
}
}

Expand Down

0 comments on commit 0a43a41

Please sign in to comment.