Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 51b0719

Browse files
author
Sachin Maheshwari
committed
ES error testing....
1 parent ebc0a4d commit 51b0719

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common/service-helper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ async function createRecordInEs (resource, entity, toEs) {
6565
async function patchRecordInEs (resource, entity, toEs) {
6666
try {
6767
if (toEs) {
68-
await esHelper.processUpdate(resource, entity)
68+
//await esHelper.processUpdate(resource, entity)
69+
throw "throwing error"
6970
}
7071
} catch (err) {
7172
logger.logFullError(err)

0 commit comments

Comments
 (0)