void (@NotNull Throwable t, @Nullable Project project) { LOG.warn(t); String text = PerformanceTestingBundle.message("profiling.capture.snapshot.error", t.getMessage()); GROUP.createNotification(text, NotificationType.ERROR).notify(project); }