diff --git a/package.json b/package.json index c970f2271..c850d9f3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@staart/api", - "version": "1.3.152", + "version": "1.3.153", "main": "index.js", "repository": "git@github.com:staart/api.git", "author": "Anand Chowdhary ", @@ -91,5 +91,5 @@ "setup" ], "snyk": true, - "staart-version": "1.3.152" + "staart-version": "1.3.153" } \ No newline at end of file diff --git a/src/helpers/elasticsearch.ts b/src/helpers/elasticsearch.ts index 8c7be37c6..31e618001 100644 --- a/src/helpers/elasticsearch.ts +++ b/src/helpers/elasticsearch.ts @@ -43,7 +43,10 @@ export const receiveElasticSearchMessage = async () => { }; } = JSON.parse(result.message); if (tryNumber && tryNumber > 3) { - logError("ElasticSearch", `Unable to save record: ${indexParams}`); + logError( + "ElasticSearch", + `Unable to save record: ${JSON.stringify(indexParams)}` + ); return redisQueue.deleteMessageAsync({ qname: ELASTIC_QUEUE, id: result.id