Open cstepper opened 3 years ago
Bumping this bug fix as it really needs to be implemented. Is anyone maintaining this package @s-u? If I wrote a PR for this will it get reviewed?
Well, the entire error handling requires a re-write, because it's a mess. I have started a branch unify-response
that was aimed at addressing that, but a) I wasn't sure how much code relies on the current behavior and b) at some point ran out of time. So I'll have a look, but I'm currently tied up/away for the next few weeks.
Thanks for the reply @s-u I'll take a look soon
Hi,
one more suggestion for
save_object()
related to #288.Currently the file is created and populated with the response error, if the relevant object/key is not available on the s3 bucket.
Created on 2021-09-14 by the reprex package (v2.0.1)
What about wrapping the
s3HTTP
call in a try, and then remove the file (and directory) ontry-error
? This would result in the following:Created on 2021-09-14 by the reprex package (v2.0.1)
Happy to discuss if this helps.
Thanks, Christoph