Skip to content

Commit

Permalink
Fix variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejeliot authored Feb 15, 2023
1 parent c3ac01d commit 61c17c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/Rankings/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
$response = $batch->addJob('/v4/rankings/search', $search);
printf('Added job with ID %d%s', $response->getResult()['job-id'], PHP_EOL);
} catch (BatchAddJobException $exception) {
printf('Error, job for search engine "%s" not added. Message: %s%s', $directory, $exception->getMessage(), PHP_EOL);
printf('Error, job for search engine "%s" not added. Message: %s%s', $searchEngine, $exception->getMessage(), PHP_EOL);
}
}
// Commit batch (to indicate that all jobs have been added and that processing should start)
Expand Down

0 comments on commit 61c17c8

Please sign in to comment.