Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #654 from bsura/develop
Browse files Browse the repository at this point in the history
Change className, eventName field length truncation
  • Loading branch information
bsura authored Sep 11, 2017
2 parents 52c80e7 + 2ee6df9 commit 1e01f99
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ public void sendMessage(Severity severity, String className, String elementName,
try {
GOCDataBuilder builder = new GOCDataBuilder();

className = _truncateIfSizeGreaterThan(className, 100);
className = _truncateIfSizeGreaterThan(className, 50);
elementName = _truncateIfSizeGreaterThan(elementName, 100);
eventName = _truncateIfSizeGreaterThan(eventName, 50);
eventName = _truncateIfSizeGreaterThan(eventName, 100);

builder.withClassName(className).withElementName(elementName).withEventName(eventName).
withSeverity(severityLevel).withSRActionable(srActionable).withEventText(message);
Expand Down

0 comments on commit 1e01f99

Please sign in to comment.