Skip to content

Commit

Permalink
callstack: Fix SonarCloud printStackTrace issue
Browse files Browse the repository at this point in the history
Fix the Low-priority security hotspot issue [1] reported by SonarCloud.

[1]https://sonarcloud.io/organizations/eclipse/rules?open=java%3AS4507&rule_key=java%3AS4507

Change-Id: I096483f6fe3a0ae649a0219917c08fc2f8dd153d
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/201660
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
  • Loading branch information
marco-miller committed May 2, 2023
1 parent 4d285bb commit 63e42f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ public Multimap<CallStackDepth, ISegment> queryCallStacks(Collection<CallStackDe
}
}
} catch (IndexOutOfBoundsException | TimeRangeException | StateSystemDisposedException e) {
e.printStackTrace();
Activator.getInstance().logError("Error while querying callstacks", e); //$NON-NLS-1$
}
return map;
}
Expand Down

0 comments on commit 63e42f2

Please sign in to comment.