Skip to content

Commit b3b60aa

Browse files
author
Olivier Dufour
committed
log : apex class for code unit bug
1 parent 6c204c5 commit b3b60aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

addon/log.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,8 @@ class CodeUnitLogNode extends LogNode {
699699
super(splittedLine, logParser, node, "CODE_UNIT_FINISHED");
700700
this.title = "code unit";
701701
if (splittedLine.length > 4 && splittedLine[4].endsWith(")")){
702-
this.apexClass = splittedLine[4].substring(0, splittedLine[4].lastIndexOf("."));
702+
this.apexClass = splittedLine[4].substring(0, splittedLine[4].indexOf("("));
703+
this.apexClass = this.apexClass.substring(0, this.apexClass.lastIndexOf("."));
703704
logParser.addApexClass(this.apexClass);
704705
this.logStartLine = logParser.index;
705706
}

0 commit comments

Comments
 (0)