Skip to content

Commit 1eb0acb

Browse files
committed
Temp work around. Don't cancel on a depot that has no manifest request code. This may have unforseen issues, but stops some games from failing because depot 1523211 doesnt have a code.
1 parent c402bf9 commit 1eb0acb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • javasteam-depotdownloader/src/main/kotlin/in/dragonbra/javasteam/depotdownloader

javasteam-depotdownloader/src/main/kotlin/in/dragonbra/javasteam/depotdownloader/DepotDownloader.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,10 @@ class DepotDownloader @JvmOverloads constructor(
928928

929929
// If we could not get the manifest code, this is a fatal error
930930
if (manifestRequestCode == 0UL) {
931-
cancel("manifestRequestCode is 0UL")
931+
// TODO this should be a fatal error and bail out. But I guess we can continue.
932+
logger?.error("Manifest request code is 0. Skipping depot ${depot.depotId}")
933+
return@withContext null
934+
// cancel("manifestRequestCode is 0UL")
932935
}
933936
}
934937

0 commit comments

Comments
 (0)