Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ private void saveViolation(SensorContext sensorContext, String ruleRepoKey, Stri

newIssue.at(location);
newIssue.save();
violationsCount++;
} catch (Exception ex) {
LOG.error("Could not add the issue '{}', skipping issue", ex.getMessage());
}
Expand All @@ -233,7 +234,8 @@ private void saveViolation(SensorContext sensorContext, String ruleRepoKey, Stri
.message(msg);

newIssue.at(location);
newIssue.save();
newIssue.save();
violationsCount++;
}
}

Expand Down