+ my($conn, $task, $test_args, $exception) = @_;
+ my $attr = $test_args->{'attr'};
+
+ $task->{rs}->destroy();
+ $conn->log("irspy_test", "search on access-point $attr had error: ",
+ $exception);
+ update($conn, $attr, 0);
+ zoom_error_timeout_update($conn, $exception);
+
+# Commented out because TEST_BAD causes sibling tests to be skipped.
+# return ZOOM::IRSpy::Status::TEST_BAD
+# if ($exception->code() == 1 || # permanent system error
+# $exception->code() == 235 || # Database does not exist
+# $exception->code() == 109); # Database unavailable