Test::Search::Explain no longer returns TEST_BAD when the IR-Explain-1
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy / Test / Search / Explain.pm
index 28a18da..7467e26 100644 (file)
@@ -1,4 +1,3 @@
-# $Id: Explain.pm,v 1.7 2007-03-15 11:41:24 mike Exp $
 
 # See the "Main" test package for documentation
 
@@ -54,8 +53,9 @@ sub error {
     $task->{rs}->destroy();
     $conn->log("irspy_test", "Explain category lookup failed: ", $exception);
     update($conn, $category, 0);
+    zoom_error_timeout_update($conn, $exception);
 
-    return ZOOM::IRSpy::Status::TEST_BAD
+    return ZOOM::IRSpy::Status::TEST_OK
        if ($exception->code() == 109 || # Database unavailable
            $exception->code() == 235); # Database does not exist