Skip to content

Commit

Permalink
Merge pull request #912 from ibi-group/fix-editorlock-regression
Browse files Browse the repository at this point in the history
Fix editor lock regression
  • Loading branch information
philip-cline authored Feb 17, 2023
2 parents 08db3cf + dc2c930 commit a41cbf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function getErrorMessageFromJson (
}
// re-assign error message after it gets used in the detail.
errorMessage = json.message || JSON.stringify(json)
if (json.detail.includes('conflicts with an existing trip id')) {
if (json.detail && json.detail.includes('conflicts with an existing trip id')) {
action = 'DEFAULT'
}
}
Expand Down

0 comments on commit a41cbf2

Please sign in to comment.