Skip to content

Commit

Permalink
Fix #58: status not shown
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Nov 13, 2021
1 parent 30c6fc3 commit 4a97899
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/PulseCore/NetworkLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ public final class NetworkLogger {
guard let request = context.request else {
return // This should never happen
}
let response = context.response ?? task.response

store.storeRequest(request, response: context.response, error: error, data: context.data, metrics: context.metrics, session: session)
store.storeRequest(request, response: response, error: error, data: context.data, metrics: context.metrics, session: session)
}

/// Logs the task metrics (optional).
Expand Down

0 comments on commit 4a97899

Please sign in to comment.