mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
build(deps): bump error-stack from version 0.3.1 to 0.4.1 (#4188)
This commit is contained in:
@ -43,7 +43,7 @@ use api_models::analytics::{
|
||||
};
|
||||
use clickhouse::ClickhouseClient;
|
||||
pub use clickhouse::ClickhouseConfig;
|
||||
use error_stack::IntoReport;
|
||||
use error_stack::report;
|
||||
use router_env::{
|
||||
logger,
|
||||
tracing::{self, instrument},
|
||||
@ -512,7 +512,7 @@ impl AnalyticsProvider {
|
||||
time_range: &TimeRange,
|
||||
) -> types::MetricsResult<Vec<(SdkEventMetricsBucketIdentifier, SdkEventMetricRow)>> {
|
||||
match self {
|
||||
Self::Sqlx(_pool) => Err(MetricsError::NotImplemented).into_report(),
|
||||
Self::Sqlx(_pool) => Err(report!(MetricsError::NotImplemented)),
|
||||
Self::Clickhouse(pool) => {
|
||||
metric
|
||||
.load_metrics(dimensions, pub_key, filters, granularity, time_range, pool)
|
||||
@ -544,7 +544,7 @@ impl AnalyticsProvider {
|
||||
time_range: &TimeRange,
|
||||
) -> types::MetricsResult<Vec<(ApiEventMetricsBucketIdentifier, ApiEventMetricRow)>> {
|
||||
match self {
|
||||
Self::Sqlx(_pool) => Err(MetricsError::NotImplemented).into_report(),
|
||||
Self::Sqlx(_pool) => Err(report!(MetricsError::NotImplemented)),
|
||||
Self::Clickhouse(ckh_pool)
|
||||
| Self::CombinedCkh(_, ckh_pool)
|
||||
| Self::CombinedSqlx(_, ckh_pool) => {
|
||||
|
||||
Reference in New Issue
Block a user