Skip to content

Commit

Permalink
馃 Log storage download URL error
Browse files Browse the repository at this point in the history
  • Loading branch information
benlmyers committed Jun 23, 2022
1 parent 6dc7c1f commit 4a1702f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/EasyFirebase/Services/Storage/EasyStorage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ public struct EasyStorage {
task = ref.putData(data, metadata: metadata) { (_, _) in
task?.removeAllObservers()
task = nil
ref.downloadURL { (url, _) in
ref.downloadURL { (url, error) in
EasyFirebase.log(error)
resource.url = url
completion(url)
}
Expand Down

0 comments on commit 4a1702f

Please sign in to comment.