Skip to content

Load error references wrong file #176

@fienen

Description

@fienen

Tell us about the issue you are experiencing

Started having problems with the system loading files. Was getting confused by errors referring to "html.md," even though the system generates a file that's "markup.html." As it turns out the, file name is just hardcoded into the error that gets thrown and needs updated. My guess is, at some point, the name of the file in use changed.

Relevant line:

_this.logError('HTML file for <strong>' + component.name + '</strong> component failed to load from <code>' + component_path + '/html.md</code>');

What behaviour would you expect?

Should say "markup.html" instead.

How can this issue be replicated?

When a component fails to load its markup file.

Screenshots / Screencast

annotation 2019-02-12 195215

Your environment

Platform: WPEngine
OS Version: Some flavor of Linux, not sure
Node Version: 8.12
NPM Version: 6.4.1
Astrum Version: 1.9.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions