+sub error {
+ my($conn, $task, $test_args, $exception) = @_;
+ my $attr = $test_args->{'attr'};
+
+ $conn->log("irspy_test", "search on access-point $attr had error: ",
+ $exception);
+ update($conn, $attr, 0);
+
+ return ZOOM::IRSpy::Status::TASK_DONE;
+}
+
+
+sub update {
+ my ($conn, $attr, $ok) = @_;
+ $conn->record()->store_result('search', 'set' => 'bib1',
+ 'ap' => $attr,
+ 'ok' => $ok);
+}
+
+