Skip to content

Commit

Permalink
1.7.13
Browse files Browse the repository at this point in the history
  • Loading branch information
dankinsoid committed Apr 13, 2024
1 parent 7554138 commit 24206a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/SwiftAPIClient/APIClientCaller.swift
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public extension APIClient {
error: error,
fileIDLine: fileIDLine
)
configs.logger.error("\(message)")
configs.logger.log(level: configs.logLevel, "\(message)")
}
try configs.errorHandler(error, configs)
}
Expand Down
4 changes: 2 additions & 2 deletions Sources/SwiftAPIClient/Clients/HTTPClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ extension APIClientCaller where Result == AsyncThrowingValue<Value> {
error: error,
duration: duration
)
configs.logger.error("\(message)")
configs.logger.log(level: configs.logLevel, "\(message)")
}
throw error
}
Expand Down Expand Up @@ -134,7 +134,7 @@ extension APIClientCaller where Result == AsyncThrowingValue<Value> {
duration: duration,
error: error
)
configs.logger.error("\(message)")
configs.logger.log(level: configs.logLevel, "\(message)")
}
throw error
}
Expand Down

0 comments on commit 24206a7

Please sign in to comment.