File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ async fn initialize(cfg: &pb::bucket_cluster::Gcs) -> anyhow::Result<Arc<gcs::cl
7171 config = config
7272 . with_auth ( )
7373 . await
74+ . inspect_err ( |e| log:: error!( "unable to resolve client config: {e:?}" ) )
7475 . context ( "unable to resolve client config" ) ?;
7576 }
7677
Original file line number Diff line number Diff line change @@ -70,8 +70,12 @@ impl LazyGCPClient {
7070 let config = gcp:: client:: ClientConfig :: default ( )
7171 . with_auth ( )
7272 . await
73+ . inspect_err ( |e| log:: error!( "failed to get client config: {e:?}" ) )
7374 . context ( "get client config" ) ?;
74- gcp:: client:: Client :: new ( config) . await . context ( "get client" )
75+ gcp:: client:: Client :: new ( config)
76+ . await
77+ . inspect_err ( |e| log:: error!( "failed to get client: {e:?}" ) )
78+ . context ( "get client" )
7579 } )
7680 . await
7781 }
You can’t perform that action at this time.
0 commit comments