private static void reportFailure(Exception e, @Nullable Project project) {
    LOG.warn(e);
    var title = IdeBundle.message("notification.title.desktop.entry.creation.failed");
    var message = ExceptionUtil.getNonEmptyMessage(e, IdeBundle.message("notification.content.internal error"));
    new Notification("System Messages", title, message, NotificationType.ERROR).notify(project);
  }
private static void reportFailure(Exception e, @Nullable Project project)