Skip to content

Commit 914de0b

Browse files
authored
Merge pull request #5007 from stacks-network/chore/event-dispatcher-logs
chore: add debug log with event dispatcher payload
2 parents 9198899 + cbc01d9 commit 914de0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testnet/stacks-node/src/event_dispatcher.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ impl RewardSetEventPayload {
296296

297297
impl EventObserver {
298298
pub fn send_payload(&self, payload: &serde_json::Value, path: &str) {
299+
debug!(
300+
"Event dispatcher: Sending payload"; "url" => %path, "payload" => ?payload
301+
);
299302
let body = match serde_json::to_vec(&payload) {
300303
Ok(body) => body,
301304
Err(err) => {

0 commit comments

Comments
 (0)