Преглед изворни кода

Note when nothing is happening

Zachary Kotlarek пре 13 година
родитељ
комит
0ded701036
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      plexMonitor/plexMonitor.pl

+ 3 - 0
plexMonitor/plexMonitor.pl

@@ -93,6 +93,9 @@ sub xbmcHTTP($) {
 	my ($cmd) = @_;
 	my $data = get('http://localhost:3000/xbmcCmds/xbmcHttp?command=' . $cmd);
 	if (!defined($data)) {
+		if ($DEBUG) {
+			print STDERR "No data returned from HTTP call\n";
+		}
 		$data = '';
 	}
 	return $data;