Cesar Rodas преди 2 месеца
родител
ревизия
40d53c26bb
променени са 2 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 3 3
      crates/cdk/src/pub_sub.rs
  2. 2 2
      misc/mintd_payment_processor.sh

+ 3 - 3
crates/cdk/src/pub_sub.rs

@@ -115,7 +115,7 @@ where
                 let _ = sender
                     .try_send((key.into(), event.clone()))
                     .inspect_err(|err| {
-                        tracing::info!(
+                        tracing::warn!(
                             "Failed to send notification {:?} with error {:?}",
                             event,
                             err
@@ -179,7 +179,7 @@ where
                             let _ = sender
                                 .try_send((sub_id_for_worker.clone(), event.clone()))
                                 .inspect_err(|err| {
-                                    tracing::info!(
+                                    tracing::warn!(
                                         "Failed to send on_new_subscription notification {:?} with error {:?}",
                                         event,
                                         err
@@ -188,7 +188,7 @@ where
                         }
                     }
                     Err(err) => {
-                        tracing::info!(
+                        tracing::warn!(
                             "Failed to get initial state for subscription: {:?}, {}",
                             sub_id_for_worker,
                             err

+ 2 - 2
misc/mintd_payment_processor.sh

@@ -178,14 +178,14 @@ while true; do
 done
 
 
-cargo test -p cdk-integration-tests --test happy_path_mint_wallet
+RUST_LOG=info cargo test -p cdk-integration-tests --test happy_path_mint_wallet
 
 # Capture the exit status of cargo test
 test_status=$?
 
 if [ "$LN_BACKEND" = "CLN" ]; then
     echo "Running bolt12 tests for CLN backend"
-    cargo test -p cdk-integration-tests --test bolt12
+    RUST_LOG=info cargo test -p cdk-integration-tests --test bolt12
     bolt12_test_status=$?
     
     # Exit with non-zero status if either test failed