File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ use etl_config::shared::ReplicatorConfig;
11
11
use etl_telemetry:: metrics:: init_metrics;
12
12
use etl_telemetry:: tracing:: init_tracing_with_top_level_fields;
13
13
use std:: sync:: Arc ;
14
- use thiserror:: __private:: AsDynError ;
15
14
use tracing:: { error, info} ;
16
15
17
16
mod config;
@@ -65,7 +64,7 @@ fn main() -> anyhow::Result<()> {
65
64
async fn async_main ( replicator_config : ReplicatorConfig ) -> anyhow:: Result < ( ) > {
66
65
// We start the replicator and catch any errors.
67
66
if let Err ( err) = start_replicator_with_config ( replicator_config) . await {
68
- sentry:: capture_error ( err. as_dyn_error ( ) ) ;
67
+ sentry:: capture_error ( & * err) ;
69
68
error ! ( "an error occurred in the replicator: {err}" ) ;
70
69
71
70
return Err ( err) ;
You can’t perform that action at this time.
0 commit comments