Register the "irspy_data" log-level.
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy / Test / Search / Explain.pm
index 7bdad09..2c2645f 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_GOOD
        if ($exception->code() == 109 || # Database unavailable
            $exception->code() == 235); # Database does not exist