You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to log exceptions thrown when the Response to a request sent with client.send(request:) is decoded, through a delegate or somewhere else?
For example:
import Get
publicextensionAPIClient{func send<T:Decodable>(_ request:Request<T>)asyncthrows->Response<T>{do{returntryawaitsend(request, delegate:nil, configure:nil)}catch{debugPrint(String(describing: error))throw error
}}}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to log exceptions thrown when the Response to a request sent with
client.send(request:)
is decoded, through a delegate or somewhere else?For example:
Beta Was this translation helpful? Give feedback.
All reactions