Skip to content

Commit

Permalink
fix: break out of accept() loop if there is an error transferring backup
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Oct 5, 2024
1 parent bb4d65e commit 5c20c6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/imex/transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ impl BackupProvider {
Err(format_err!("Backup provider dropped"))
}).await {
warn!(context, "Error while handling backup connection: {err:#}.");
break;
} else {
info!(context, "Backup transfer finished successfully.");
break;
Expand Down

0 comments on commit 5c20c6a

Please sign in to comment.