Skip to content

Commit

Permalink
exit from processor on error instead of throwing error
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanakram3 committed Oct 23, 2023
1 parent b3f01a3 commit 810240d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions query-node/mappings/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ export function unimplementedError(extraInfo: string, data?: unknown): never {
// log error
logger.error(errorMessage, data)

// eslint-disable-next-line local-rules/no-throw
throw errorMessage
process.exit(1)
}

/*
Expand Down

0 comments on commit 810240d

Please sign in to comment.