2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

98_fheminfo.pm: improve logging

git-svn-id: https://svn.fhem.de/fhem/trunk@14765 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2017-07-22 18:12:48 +00:00
parent b4f6a5ffac
commit 0b1de8a8c0

View File

@ -148,10 +148,11 @@ sub _fi2_Count() {
sub _fi2_Send($) {
my ($cl) = shift;
$cl //= undef;
my $sendType = defined($cl) ? 'nonblocking' : 'blocking';
my $json = toJSON(\%fhemInfo);
Log3("fheminfo",4,"fheminfo: $json");
Log3("fheminfo",4,"fheminfo send ($sendType): $json");
my %hu_hash = ();
$hu_hash{url} = $cmds{fheminfo}{uri};