Skip to content

Commit a92c5c0

Browse files
committed
Should return the error from Alamofire
1 parent 8728a91 commit a92c5c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Alamofire-SwiftyJSON.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ extension Request {
4949
}
5050

5151
dispatch_async(queue ?? dispatch_get_main_queue(), {
52-
completionHandler(self.request, self.response, responseJSON, nil)
52+
completionHandler(self.request, self.response, responseJSON, error)
5353
})
5454
})
5555
})

0 commit comments

Comments
 (0)