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

fix: pass Android manifest parse errors through to the user #1270

Merged
merged 5 commits into from
Sep 21, 2020

Conversation

thymikee
Copy link
Member

@thymikee thymikee commented Sep 17, 2020

Summary:

The try/catch block in warnAboutManuallyLinkedLibs functions swallowed errors when accessing config.project getter, which was the cause to the AndroidManifest parse errors not being shown to the user. There's no need for this error handling here, because if reading configuration fails, we want to know it immediately.

As a bonus I've restructured the errors to not hide important things like stack trace behind dimmed text:

Screen Shot 2020-09-17 at 14 55 10

Fixes #1262.

Test Plan:

None, check repro.

@thymikee thymikee force-pushed the fix/remove-manual-link-warnings branch from c4c8d06 to 8686ca8 Compare September 17, 2020 12:59
@thymikee thymikee force-pushed the fix/remove-manual-link-warnings branch from 8686ca8 to 75d8477 Compare September 17, 2020 14:04
@thymikee thymikee changed the title fix: pass Android manifest parse errors; remove manual link warnings fix: pass Android manifest parse errors through to the user Sep 17, 2020
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.

Wrong (or at least not descriptive) "error Android project not found" msg
2 participants