瀏覽代碼

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;