File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Modules/Sources/Yosemite/PointOfSale/Items Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public final class PointOfSaleItemService: PointOfSaleItemServiceProtocol {
3636 return . init( items: itemMapper. mapProductsToPOSItems ( products: products) ,
3737 hasMorePages: pagedProducts. hasMorePages,
3838 totalItems: pagedProducts. totalItems)
39- } catch AFError . explicitlyCancelled {
39+ } catch AFError . explicitlyCancelled , is CancellationError {
4040 throw PointOfSaleItemServiceError . requestCancelled
4141 }
4242 }
@@ -55,7 +55,7 @@ public final class PointOfSaleItemService: PointOfSaleItemServiceProtocol {
5555 hasMorePages: pagedVariations. hasMorePages,
5656 totalItems: pagedVariations. totalItems
5757 )
58- } catch AFError . explicitlyCancelled {
58+ } catch AFError . explicitlyCancelled , is CancellationError {
5959 throw PointOfSaleItemServiceError . requestCancelled
6060 }
6161 }
You can’t perform that action at this time.
0 commit comments