implements PR-06.1
This commit is contained in:
+11
@@ -12,6 +12,9 @@ public class BuildingIssue {
|
||||
private final Throwable exception;
|
||||
private final String phase;
|
||||
private final String code;
|
||||
private final Integer fileId;
|
||||
private final Integer start;
|
||||
private final Integer end;
|
||||
private final Integer functionIndex;
|
||||
private final Integer pc;
|
||||
|
||||
@@ -37,6 +40,14 @@ public class BuildingIssue {
|
||||
sb.append('(').append(code).append(')').append(' ');
|
||||
}
|
||||
sb.append(message == null ? "" : message);
|
||||
if (fileId != null && fileId >= 0) {
|
||||
final var safeStart = start == null ? -1 : start;
|
||||
final var safeEnd = end == null ? -1 : end;
|
||||
sb.append(" [file=").append(fileId)
|
||||
.append(':').append(safeStart)
|
||||
.append('-').append(safeEnd)
|
||||
.append(']');
|
||||
}
|
||||
if (functionIndex != null && functionIndex >= 0) {
|
||||
sb.append(" [fn=").append(functionIndex).append(']');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user