Skip to content

Commit

Permalink
Merge pull request #1003 from CVEProject/jd-608
Browse files Browse the repository at this point in the history
Resolves #608 Improved error message for creating CVE records with $ in X_ values
  • Loading branch information
slubar authored Feb 1, 2023
2 parents e50795e + 0af6645 commit 2862404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/cve.controller/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class CveControllerError extends idrErr.IDRError {
unableToStoreCveRecord () { // cve
const err = {}
err.error = 'UNABLE_TO_STORE_CVE_RECORD'
err.message = 'A problem occurred while saving the CVE Record'
err.message = 'A problem occurred while saving the CVE Record, ensure that x_ values do not start with $'
return err
}

Expand Down

0 comments on commit 2862404

Please sign in to comment.