Skip to content

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