🧱 Chunk is a download manager for slow and unstable servers

CLI aborts all parallel downloads on the first chunk error #18

Open cuducos.me
Open opened by cuducos.me

Problem

main.go:55 calls log.Fatal(status.Error) — one bad chunk out of thousands kills the entire run and aborts every other download in progress.

Impact

The library keeps per-file statuses precisely so the caller can decide; the CLI throws that away. A single transient chunk failure loses all other downloads' progress.

Suggested fix

Collect errors and report them at the end, continuing the remaining chunks and URLs.

Sign up or Sign in to add to the discussion.