summaryrefslogtreecommitdiffstatshomepage
path: root/src/main.rs
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-04-23 15:56:04 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-04-23 16:08:56 +0100
commitb75f2c6724b297efce1ad1c7b419556658eed05e (patch)
treeedcfb9542bdc4bef6c50964c2cec91bd8bfa0aa5 /src/main.rs
parent6c8f59502f3bb0279eae1091f19a7c0bb458a2c7 (diff)
downloadsentrum-b75f2c6724b297efce1ad1c7b419556658eed05e.tar.gz
sentrum-b75f2c6724b297efce1ad1c7b419556658eed05e.tar.bz2
sentrum-b75f2c6724b297efce1ad1c7b419556658eed05e.zip
Add more debug logging
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index dc9fc72..902b26f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -74,6 +74,7 @@ fn get_and_handle_new_txs(
TokioScope::scope_and_block(|s| {
for tx in txs.iter() {
let params = MessageParams::new(tx, &locked_wallet_info);
+ info!("running actions for txid '{}'", params.txid_short());
s.spawn(run_actions(actions, Some(params)));
}
});
@@ -136,6 +137,7 @@ async fn do_main() -> Result<()> {
let actions_ref = actions.iter().map(Box::as_ref).collect::<Vec<_>>();
if args.test() {
+ info!("running test actions");
run_actions(&actions_ref, None).await;
return Ok(());
}