diff --git a/accountsdb-plugin-postgres/src/postgres_client.rs b/accountsdb-plugin-postgres/src/postgres_client.rs index 1ae7c7ad7c..73d708515e 100644 --- a/accountsdb-plugin-postgres/src/postgres_client.rs +++ b/accountsdb-plugin-postgres/src/postgres_client.rs @@ -670,7 +670,12 @@ impl PostgresClientWorker { } } DbWorkItem::LogTransaction(transaction_log_info) => { - self.client.log_transaction(*transaction_log_info)?; + if let Err(err) = self.client.log_transaction(*transaction_log_info) { + error!("Failed to update transaction: ({})", err); + if panic_on_db_errors { + abort(); + } + } } }, Err(err) => match err {