Skip to content

Shifter error shows as [object Object] #129

@redonkulus

Description

@redonkulus

If shifter cannot find a file or some other issue occurs it is displayed as:

shifter [err] css: [object Object]

The error object is passed into the log method assuming its a string, which will just print out the above message. I tried using error.toString() and error.message but neither displayed the error. Perhaps we just output log.err(err) to at least see the error.

https://github.com/yui/shifter/blob/master/lib/module.js#L273

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