Details
Details
Played with these by providing invalid inputs to S3 SDK functions (e.g. non-existing object or incorrect S3 path) - using format!("Error: {:?}", s3_error) displayed correct error types.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
looks fine to me, but varun should also take a look
services/blob/src/s3.rs | ||
---|---|---|
185 ↗ | (On Diff #27454) | alternatively, you could implement From for S3Result to have it implicitly convert. Also, not sure if logging should be done at the data layer (here), or by the calling scope. But I guess that's personal preference. |