-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Currently the Delete action just returns :ok, no matter what the adapter returned.
The local adapter would return an error tuple when that fails
And similarly the GCS adapter I'm using would also return an error tuple
The S3 adapter on the other hand discards the result and always returns :ok
I have a use case where I would like to check the result of file removal and act accordingly depending on the error. Would it be possible to expose results of that action? Would that be useful? I can work on a PR. This seems like a breaking change so maybe only when appropriate option is passed? I would also change the S3 adapter to just return what ExAws returned.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels