@Contract(pure = true)
  private static @NotNull String appendDetail(@NotNull @NonNls String message, @NotNull @NonNls String detail) {
    return message + "\n  " + StringUtil.trimLog(detail, 10_000);
  }
@Contract(pure = true)
  private static @NotNull String appendDetail(@NotNull @NonNls String message, @NotNull @NonNls String detail)