Skip to content

Commit d2bb150

Browse files
brennanMKEroyjit
authored andcommitted
chore(storage): adds error to httpStatusError to improving debugging support (#102)
1 parent 60ed414 commit d2bb150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AmplifyPlugins/Storage/AWSS3StoragePlugin/Support/Utils/SdkError+Properties.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ extension SdkError {
7575
"Received HTTP Response status code 404 NotFound",
7676
"Make sure the key exists before trying to download it.")
7777
} else {
78-
storageError = StorageError.httpStatusError(statusCode, localizedDescription)
78+
storageError = StorageError.httpStatusError(statusCode, localizedDescription, self)
7979
}
8080
} else if let clientError = clientError {
8181
storageError = StorageError.unknown(clientError.localizedDescription, clientError)

0 commit comments

Comments
 (0)