Skip to content

Commit

Permalink
Revert "Added temporary logging to investigate Kir-Antipov#69"
Browse files Browse the repository at this point in the history
This reverts commit f161000.
  • Loading branch information
Kir-Antipov authored and Minecraftschurli committed Oct 18, 2023
1 parent ac81809 commit 7337cfd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/platforms/curseforge/curseforge-upload-api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { MINECRAFT_VERSION_PROVIDER } from "@/games/minecraft";
import { retry } from "@/utils/async-utils";
import { isHttpError } from "@/utils/errors";
import { JavaVersion } from "@/utils/java";
import { getDefaultLogger } from "@/utils/logging";
import { Fetch, HttpRequest, createFetch, simpleCache, throwOnError } from "@/utils/net";
import { CurseForgeError, getInvalidProjectSlug, isCurseForgeError, isInvalidGameVersionIdCurseForgeError, isInvalidProjectSlugCurseForgeError } from "./curseforge-error";
import { CurseForgeFile, CurseForgeFileInit } from "./curseforge-file";
Expand Down Expand Up @@ -266,10 +265,6 @@ async function tryHandleUploadError(error: Error, file: CurseForgeFileInit): Pro
}

if (isInvalidGameVersionIdCurseForgeError(errorObject)) {
// _ TODO: Add proper debug logging here.
const logger = getDefaultLogger();
logger.warn(`W.I.P. CurseForge rejected these game versions: [${file?.game_versions?.join(", ")}]. ${error}`);

return handleInvalidGameVersionIdCurseForgeError(file);
}

Expand Down

0 comments on commit 7337cfd

Please sign in to comment.