Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve JSON errors #404

Merged
merged 3 commits into from
Aug 4, 2019
Merged

feat: improve JSON errors #404

merged 3 commits into from
Aug 4, 2019

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

}

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