Skip to content

Commit

Permalink
fix: bugsnag error for salesforce (#2753)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanpj2292 authored Oct 19, 2023
1 parent 146f1c6 commit a2ccdad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/destinations/salesforce/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const salesforceResponseHandler = (destResponse, sourceMessage, authKey) => {
} else if (
status === 400 &&
matchErrorCode('CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY') &&
response.message.includes('UNABLE_TO_LOCK_ROW')
response?.message?.includes('UNABLE_TO_LOCK_ROW')
) {
// handling the error case where the record is locked by another background job
// this is a retryable error
Expand Down

0 comments on commit a2ccdad

Please sign in to comment.