Skip to content

Commit b50350a

Browse files
committed
Fix the error description of invalid URL
1 parent 0043414 commit b50350a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Storage/FirebaseStorageUI/SDWebImageFIRStorageLoader.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ - (BOOL)canLoadWithURL:(NSURL *)url {
4545
FIRStorageReference *storageRef = url.sd_storageReference;
4646
if (!storageRef) {
4747
if (completedBlock) {
48-
NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:SDWebImageErrorInvalidURL userInfo:@{NSLocalizedDescriptionKey : @"Image url is Firebae Storage Reference"}];
48+
NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:SDWebImageErrorInvalidURL userInfo:@{NSLocalizedDescriptionKey : @"The provided image url must have an associated FIRStorageReference."}];
4949
completedBlock(nil, nil, error, YES);
5050
}
5151
}

0 commit comments

Comments
 (0)