We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8ec8e9 commit d038e2fCopy full SHA for d038e2f
Sources/SwiftLocation/Request/Abstract Request/RequestProtocol+Extension.swift
@@ -83,11 +83,6 @@ public extension RequestProtocol {
83
// MARK: - Private Functions
84
85
private func receiveError(_ error: LocationError) {
86
- guard !error.isDataDiscarded else {
87
- // discarded data do not produce any error.
88
- return
89
- }
90
-
91
// Otherwise error is dispatched
92
dispatchData(.failure(error))
93
if evictionPolicy.contains(.onError) { // if in case of error we should cancel the request.
0 commit comments