Add option to completely hide a crash-callable depending on a runtime value (#9372)

This commit is contained in:
Dennis C authored and GitHub committed 2023-03-20 14:15:59 -07:00
1 parent 7b8ca60d32
commit 684d36201f
5 files changed
+118 -8

No files matched your search

@@ -26,9 +26,12 @@ public class CrashReportExtender
public static void extendSystemReport(final SystemReport systemReport)
{
for (final ISystemReportExtender call: CrashReportCallables.allCrashCallables())
for (final ISystemReportExtender call : CrashReportCallables.allCrashCallables())
{
systemReport.setDetail(call.getLabel(), call);
if (call.isActive())
{
systemReport.setDetail(call.getLabel(), call);
}
}
}