Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Handle FFF output from CalledProcessError #52

Merged
merged 4 commits into from
Aug 13, 2024

Conversation

bellisk
Copy link
Owner

@bellisk bellisk commented Aug 13, 2024

Sometimes (specifically in the case where a work has been hidden), when FFF can't update a fic, it returns an exit status of 1, which subprocess turns into a CalledProcessError. In this case, we have to get the output from FFF from the 'output' attribute of the exception.

Sometimes (specifically in the case where a work has been hidden), when FFF can't update a fic, it returns an exit status of 1, which subprocess turns into a CalledProcessError. In this case, we have to get the output from FFF from the 'output' attribute of the exception.
Improved log message.
@bellisk bellisk merged commit 93fb9c7 into main Aug 13, 2024
4 checks passed
@bellisk bellisk deleted the feat/handle-hidden-works-properly branch August 13, 2024 14:07
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