Skip to content

Commit

Permalink
Merge branch 'bug_18814/error_log_about_duplicates_entries_when_savin…
Browse files Browse the repository at this point in the history
…g_node_compliance_levels_pr' into branches/rudder/6.1
  • Loading branch information
Jenkins CI committed Jan 14, 2021
2 parents bf8e7f9 + 0e27ef6 commit 1009e49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class ComplianceJdbcRepository(
// we need to filter out `ERROR: duplicate key value violates unique constraint "nodecompliancelevels_pkey"`
// see https://issues.rudder.io/issues/18188 for details
val fullMsg = err.fullMsg
if(fullMsg.contains("""duplicate key value violates unique constraint "nodecompliancelevels_pkey"""")) {
if(fullMsg.contains("""nodecompliancelevels_pkey""")) {
effectUioUnit {
logger.debug(s"Ignored duplicate key violation, see: https://issues.rudder.io/issues/18188. Message is: " + fullMsg)
}
Expand Down

0 comments on commit 1009e49

Please sign in to comment.