Remove unwrap()

This commit is contained in:
Sik Yoon 2024-05-20 22:41:25 +09:00
parent 3549fbf289
commit b9621ccc72

View File

@ -160,8 +160,7 @@ pub async fn limit_order_entry(
let update_condition = vec![(String::from("id"), entry_coin_info.id.to_string())];
update_record3(&update_table_name, &update_values, &update_condition)
.await
.unwrap();
.await?;
sub_future_available_usdt(used_usdt).await;
@ -274,8 +273,7 @@ pub async fn limit_order_entry(
let update_condition = vec![(String::from("id"), entry_coin_info.id.to_string())];
update_record3(&update_table_name, &update_values, &update_condition)
.await
.unwrap();
.await?;
}
},
Err(e) => {