Skip to content

Don't forward a stale error_message once a transfer has finished - #40

Open
snugglefluff wants to merge 1 commit into
wouterdebie:mainfrom
snugglefluff:fix/stale-error-message-blocks-import
Open

Don't forward a stale error_message once a transfer has finished#40
snugglefluff wants to merge 1 commit into
wouterdebie:mainfrom
snugglefluff:fix/stale-error-message-blocks-import

Conversation

@snugglefluff

Copy link
Copy Markdown

put.io can leave error_message set from a transient issue (e.g. "not enough space") even after the transfer retries and completes on its own. transmission.rs forwarded it unconditionally, so a fully downloaded transfer could still report an error, which makes Sonarr/Radarr mark the queue item "warning" and skip Completed Download Handling - the file never gets imported.

Only forward error_message while finished_at is unset, so a real, ongoing error still surfaces but a finished transfer reports clean.

put.io can leave error_message set from a transient issue (e.g. "not
enough space") even after the transfer retries and completes on its
own. transmission.rs forwarded it unconditionally, so a fully
downloaded transfer could still report an error, which makes
Sonarr/Radarr mark the queue item "warning" and skip Completed
Download Handling - the file never gets imported.

Only forward error_message while finished_at is unset, so a real,
ongoing error still surfaces but a finished transfer reports clean.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant