File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ pub struct MockDiscord {
1919
2020/// Initialize environment variables from .env file
2121fn init_env ( ) {
22- crabgraph:: tls:: install_default ( ) ;
22+ let _ = crabgraph:: tls:: try_install_default ( ) ;
2323 dotenvy:: dotenv ( ) . ok ( ) ;
2424}
2525
Original file line number Diff line number Diff line change 1- pub mod shared;
1+ pub mod shared;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use std::sync::Arc;
66
77async fn create_test_dispatcher ( ) -> Dispatcher {
88 // Install crabgraph TLS provider for tests
9- crabgraph:: tls:: install_default ( ) ;
9+ let _ = crabgraph:: tls:: try_install_default ( ) ;
1010
1111 dotenvy:: dotenv ( ) . ok ( ) ;
1212 let convex_url = std:: env:: var ( "CONVEX_URL" ) . expect ( "CONVEX_URL required for tests" ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use bytehub::storage::convex::ConvexDb;
77use std:: sync:: Arc ;
88
99async fn create_test_dispatcher ( ) -> Dispatcher {
10- crabgraph:: tls:: install_default ( ) ;
10+ let _ = crabgraph:: tls:: try_install_default ( ) ;
1111 dotenvy:: dotenv ( ) . ok ( ) ;
1212 let convex_url = std:: env:: var ( "CONVEX_URL" ) . expect ( "CONVEX_URL required for tests" ) ;
1313 let db = ConvexDb :: new ( & convex_url)
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use bytehub::storage::convex::ConvexDb;
55use std:: sync:: Arc ;
66
77async fn create_test_dispatcher ( ) -> Dispatcher {
8- crabgraph:: tls:: install_default ( ) ;
8+ let _ = crabgraph:: tls:: try_install_default ( ) ;
99 dotenvy:: dotenv ( ) . ok ( ) ;
1010 let convex_url = std:: env:: var ( "CONVEX_URL" ) . expect ( "CONVEX_URL required for tests" ) ;
1111 let db = ConvexDb :: new ( & convex_url)
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use bytehub::storage::convex::ConvexDb;
55use std:: sync:: Arc ;
66
77async fn create_test_dispatcher ( ) -> Dispatcher {
8- crabgraph:: tls:: install_default ( ) ;
8+ let _ = crabgraph:: tls:: try_install_default ( ) ;
99 dotenvy:: dotenv ( ) . ok ( ) ;
1010 let convex_url = std:: env:: var ( "CONVEX_URL" ) . expect ( "CONVEX_URL required for tests" ) ;
1111 let db = ConvexDb :: new ( & convex_url)
You can’t perform that action at this time.
0 commit comments