ghassmo 4 лет назад
Родитель
Сommit
d60c06c81f
2 измененных файлов с 5 добавлено и 5 удалено
  1. 1 1
      src/bin/cashierd.rs
  2. 4 4
      src/client.rs

+ 1 - 1
src/bin/cashierd.rs

@@ -531,7 +531,7 @@ impl Cashierd {
             async move {
                 while let Some(token_notification) = bridge2.clone().listen().await
                 {
-                    debug!(target: "CASHIER DAEMON", "Notification from birdge: {:?}", token_notification);
+                    debug!(target: "CASHIER DAEMON", "Notification from birdge");
 
                     let token_notification = token_notification?;
 

+ 4 - 4
src/client.rs

@@ -273,7 +273,7 @@ impl Client {
                 let tx = tx::Transaction::decode(&slab.get_payload()[..]);
 
                 if let Err(e) = tx {
-                    error!("TX: {}", e.to_string());
+                    warn!("TX: {}", e.to_string());
                     continue;
                 }
 
@@ -282,7 +282,7 @@ impl Client {
                 let update = state_transition(&state, tx?);
 
                 if let Err(e) = update {
-                    error!("state transition: {}", e.to_string());
+                    warn!("state transition: {}", e.to_string());
                     continue;
                 }
 
@@ -324,7 +324,7 @@ impl Client {
                 let tx = tx::Transaction::decode(&slab.get_payload()[..]);
 
                 if let Err(e) = tx {
-                    error!("TX: {}", e.to_string());
+                    warn!("TX: {}", e.to_string());
                     continue;
                 }
 
@@ -333,7 +333,7 @@ impl Client {
                 let update = state_transition(&state, tx?);
 
                 if let Err(e) = update {
-                    error!("state transition: {}", e.to_string());
+                    warn!("state transition: {}", e.to_string());
                     continue;
                 }