wultra / networking-apple

A high-level networking SDK for PowerAuth-based endpoints.
Apache License 2.0
0 stars 0 forks source link

Response JSON Decoding fail & better logs #39

Closed Hopsaheysa closed 10 months ago

Hopsaheysa commented 1 year ago

When decoding fails and DecodingError is logged, it is not clear if it failed because of data -> E2EE failed or decryptedData -> response failed.

https://github.com/wultra/networking-apple/blob/d7675fe80a9be360233defe01c0c471a91797ef0/Sources/WultraPowerauthNetworking/WPNHttpRequest.swift#L139

It would be nice to have extra logs of the received object.