fix(search-backend-module-elasticsearch): correctly resolve error handling promise

Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
This commit is contained in:
Thomas Cardonne
2024-05-07 23:03:35 +02:00
parent 46e78d99fe
commit 5252ee1268
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-search-backend-module-elasticsearch': patch
---
Fix never resolved indexer promise.
@@ -345,6 +345,7 @@ export class ElasticSearchSearchEngine implements SearchEngine {
attempts++;
}
done();
});
if (cleanupError) {