Skip to content

Commit e211dc4

Browse files
authored
FIX @W-19261289@ SFGE treats LimitReached errors as internal errors (#325)
1 parent 5932b07 commit e211dc4

File tree

1 file changed

+1
-2
lines changed
  • packages/code-analyzer-sfge-engine/sfge/src/main/java/com/salesforce/rules

1 file changed

+1
-2
lines changed

packages/code-analyzer-sfge-engine/sfge/src/main/java/com/salesforce/rules/Violation.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,7 @@ public LimitReachedViolation(String message, SFVertex vertex) {
332332
message),
333333
vertex);
334334

335-
// TODO: reconsider the name and category. We want users to take followup action.
336-
this.ruleName = "LimitReached";
335+
this.ruleName = INTERNAL_ERROR_RULENAME;
337336
this.category = INTERNAL_ERROR_CATEGORY;
338337
this.description = "";
339338
this.severity = AbstractRule.SEVERITY.LOW.code;

0 commit comments

Comments
 (0)