Skip to content

Display more detailed error when project fails to load #61

Description

@SheepTester

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions