Add warnings if running tasks leaves the ZOOM connections idle. (Doesn't currently...
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy / Task / Connect.pm
index d0980dc..5080a7a 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Connect.pm,v 1.5 2006-10-25 13:36:02 mike Exp $
+# $Id: Connect.pm,v 1.6 2006-11-02 16:11:44 mike Exp $
 
 # See ZOOM/IRSpy/Task/Search.pm for documentation
 
@@ -25,6 +25,8 @@ sub run {
     my $conn = $this->conn();
     $conn->log("irspy_task", "connecting");
     $conn->connect($conn->option("host"));
+    warn "no ZOOM-C level events queued by $this"
+       if $conn->is_idle();
 
     $this->set_options();
 }