-
Notifications
You must be signed in to change notification settings - Fork 390
Closed
Labels
package:cupertino_httpIssues related to package:cupertino_httpIssues related to package:cupertino_httptype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Hey guys this is rather a question than a feature request.
The problem im facing is that some ClientException errors sent to my crash reporting tool are unreadable and hard to group because they contain localized messages.
For instance, I see ClientException: Неможливо встановити з’єднання для передавання даних, бо триває виклик as an error message and i have no idea what it means.
By taking a quick look at cupertino_client.dart i could find how a ClientException is constructed using NSError.localizedDescription
static void _onComplete(URLSession session, URLSessionTask task, NSError? error) {
final taskTracker = _tracker(task);
if (error != null) {
final exception = ClientException(error.localizedDescription.toString(), taskTracker.request.url);
...so my question is: is it possible to use a non-localized description instead?
pascalfriedrich, absar, omahasdev and tenhobi
Metadata
Metadata
Assignees
Labels
package:cupertino_httpIssues related to package:cupertino_httpIssues related to package:cupertino_httptype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug