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

Display more detailed error when project fails to load #61

Open
SheepTester opened this issue Aug 16, 2021 · 0 comments
Open

Display more detailed error when project fails to load #61

SheepTester opened this issue Aug 16, 2021 · 0 comments

Comments

@SheepTester
Copy link
Owner

See

.catch(error => {
log.warn(error);
alert(this.props.intl.formatMessage(messages.loadError)); // eslint-disable-line no-alert
})

Sometimes projects fail to load for mysterious reasons, and it'd help me debug these issues if I could see the error in the alert pop-up without having to tell them to open the console

Maybe it could say

The project file that was selected failed to load.

Technical details:

Error: Non-ascii character in FixedAsciiString
  at B (lib.min.js:165)
  at t.read (lib.min.js:165)
  at t.get [as version] (lib.min.js:165)
  at t.value (lib.min.js:165)
  at t.value (lib.min.js:165)
  at new A (lib.min.js:165)
  at lib.min.js:136
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

No branches or pull requests

1 participant