From 950eab0475b5316cfff2416dac9f65ae7235eb32 Mon Sep 17 00:00:00 2001 From: Pmatis Date: Sat, 5 Dec 2020 20:31:59 -0500 Subject: [PATCH] add debug else to xAP message --- lib/xAP_Items.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/xAP_Items.pm b/lib/xAP_Items.pm index 984a65760..aa35cd95c 100644 --- a/lib/xAP_Items.pm +++ b/lib/xAP_Items.pm @@ -636,6 +636,9 @@ sub _process_incoming_xap_data { if $o->allow_empty_state() or ( defined $state_value and $state_value ne '' ); } + } else { + print "db1 xap discarded, source is mh: s=$source d=$data\n" + if $main::Debug{xap} and $main::Debug{xap} == 1; } }