Skip to content

Conversation

@gabebear
Copy link

@gabebear gabebear commented Aug 2, 2019

Add codes for errors and send all check_error() errors out as the JSON stream

Add codes for errors and send all check_error() errors out as the JSON stream
@gabebear
Copy link
Author

gabebear commented Aug 2, 2019

I realized we should surface more errors when going over Flutter's code. e.g. what the Flutter team is doing with 0xe8000022 in https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/ios/devices.dart

@"Status": description});
}

on_error(@"Unable to mount developer disk image. (%x)", result);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mostly duplicative now... but I see that people are string-matching this line in other programs so leaving it.

@shazron shazron changed the title Improve JSON errors feat: improve JSON errors Aug 4, 2019
@shazron shazron added this to the 1.10.0 milestone Aug 4, 2019
@shazron shazron merged commit 7d38bac into ios-control:master Aug 4, 2019
geekonion pushed a commit to geekonion/ios-deploy that referenced this pull request Jun 29, 2023
* Improve JSON errors

Add codes for errors and send all check_error() errors out as the JSON stream

* Standardize on "Status" instead of "Description"

* Better handling of the messages for both JSON and console.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants