We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a8f85a commit ee8497cCopy full SHA for ee8497c
includes/admin/class-algolia-admin.php
@@ -272,7 +272,9 @@ public function re_index() {
272
273
wp_send_json( $response );
274
} catch ( Exception $exception ) {
275
- echo esc_html( $exception->getMessage() );
+ wp_send_json( [
276
+ 'responseText' => $exception->getMessage()
277
+ ] );
278
throw $exception;
279
}
280
@@ -307,7 +309,9 @@ public function push_settings() {
307
309
);
308
310
311
312
313
314
315
316
317
0 commit comments