Skip to content

Commit

Permalink
Merge pull request #255 from teamlapse/fix/al/task-description
Browse files Browse the repository at this point in the history
Fix task description not being used with URLSessionProxyDelegate
  • Loading branch information
kean committed May 23, 2024
2 parents d1e39ff + 69dec21 commit 3e316d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Pulse/LoggerStore/LoggerStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ extension LoggerStore {
entity.responseContentType = event.response?.contentType?.type
let isFailure = event.error != nil || event.response?.isSuccess == false
entity.requestState = (isFailure ? NetworkTaskEntity.State.failure : .success).rawValue
entity.taskDescription = event.taskDescription

// Populate response/request data
let responseContentType = event.response?.contentType
Expand Down

0 comments on commit 3e316d5

Please sign in to comment.