build(deps): bump error-stack from version 0.3.1 to 0.4.1 (#4188)

This commit is contained in:
Sanchith Hegde
2024-04-01 12:31:17 +05:30
committed by GitHub
parent cb2000b088
commit ea730d4ffc
286 changed files with 1361 additions and 2397 deletions

View File

@ -1,7 +1,7 @@
use bb8::PooledConnection;
use data_models::errors::StorageError;
use diesel::PgConnection;
use error_stack::{IntoReport, ResultExt};
use error_stack::ResultExt;
use crate::{errors::RedisErrorExt, metrics, DatabaseStore};
@ -28,7 +28,6 @@ pub async fn pg_connection_read<T: DatabaseStore>(
pool.get()
.await
.into_report()
.change_context(StorageError::DatabaseConnectionError)
}
@ -43,7 +42,6 @@ pub async fn pg_connection_write<T: DatabaseStore>(
pool.get()
.await
.into_report()
.change_context(StorageError::DatabaseConnectionError)
}