Skip to content

Commit

Permalink
fix: remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv committed May 3, 2024
1 parent a6ef203 commit 06ee646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async fn main() {
// we will know by looking at the log number which db has an issue
for db in [&shared_state.starknetid_db, &shared_state.sales_db] {
if db.run_command(doc! {"ping": 1}, None).await.is_err() {
println!("error: unable to connect to a database {:?}", db);
println!("error: unable to connect to a database");
return;
} else {
println!("database: connected")
Expand Down

0 comments on commit 06ee646

Please sign in to comment.