Skip to content

Commit

Permalink
Fix storeRequest error type
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Aug 20, 2022
1 parent 9a1c88d commit b8b32c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Pulse/LoggerStore/LoggerStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ extension LoggerStore {
///
/// - note: If you want to store incremental updates to the task, use
/// `NetworkLogger` instead.
public func storeRequest(_ request: URLRequest, response: URLResponse?, error: Error?, data: Data?, metrics: URLSessionTaskMetrics? = nil) {
public func storeRequest(_ request: URLRequest, response: URLResponse?, error: Swift.Error?, data: Data?, metrics: URLSessionTaskMetrics? = nil) {
handle(.networkTaskCompleted(.init(
taskId: UUID(),
taskType: .dataTask,
Expand Down

0 comments on commit b8b32c9

Please sign in to comment.