Skip to content

Commit ef46744

Browse files
committed
[Chore] #221 - 원본객체 전달로 변경 후 로깅 로직 수정
1 parent 0328f76 commit ef46744

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Neki-iOS/Features/Pose/Sources/Presentation/Sources/Feature/PoseDetailFeature.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct PoseDetailFeature {
7474

7575
case let .scrapResponse(originalPose, .failure(error)):
7676
if error is CancellationError { return .none }
77-
Logger.presentation.error("Error occured while scrapping pose: ID-\(id) / Error: \(error)")
77+
Logger.presentation.error("Error occured while scrapping pose: ID-\(originalPose.id) / Error: \(error)")
7878

7979
if state.poses[id: originalPose.id] != nil {
8080
state.poses[id: originalPose.id] = originalPose

Neki-iOS/Features/Pose/Sources/Presentation/Sources/Feature/RandomPoseCarouselFeature.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ struct RandomPoseCarouselFeature {
133133

134134
case let .scrapResponse(originalPose, .failure(error)):
135135
if error is CancellationError { return .none }
136-
Logger.presentation.error("Error occured while scrapping pose: ID-\(id) / Error: \(error)")
136+
Logger.presentation.error("Error occured while scrapping pose: ID-\(originalPose.id) / Error: \(error)")
137137

138138
if state.currentPose?.id == originalPose.id {
139139
state.currentPose = originalPose

0 commit comments

Comments
 (0)