Skip to content

Commit

Permalink
fix: error
Browse files Browse the repository at this point in the history
  • Loading branch information
prxmat committed Sep 13, 2021
1 parent 1b7b852 commit b08f209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/IndexResaveHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class IndexResaveHelper<T extends typeof BaseEntity> {
const friendlyErrorStack = typeDatastoreOrm.getFriendlyErrorStack();
try {
const [mergeResult] = await this.datastore.merge(updateDataList);
} catch (err) {
} catch (err: any) {
throw Object.assign(err, friendlyErrorStack && {stack: updateStack(friendlyErrorStack, err)});
}
}
Expand Down

0 comments on commit b08f209

Please sign in to comment.