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 7bdad09..7467e26 100644 (file)
@@ -53,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