Skip to content

Commit

Permalink
Temporarily add logging of write locking failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
tommie committed Dec 29, 2024
1 parent 9a81752 commit 3fd1f62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions syncserver/src/web/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ impl DbTransactionPool {

// Handle lock error
if let Err(e) = result {
info!("transaction_internal error {}", e);
// Update the extra info fields.
set_extra(&request, db.get_connection_info());
db.rollback().await?;
Expand Down

0 comments on commit 3fd1f62

Please sign in to comment.