Skip to content
This repository has been archived by the owner on Dec 12, 2017. It is now read-only.

Throws strings instead of errors #8

Closed
callumlocke opened this issue Jun 22, 2016 · 2 comments
Closed

Throws strings instead of errors #8

callumlocke opened this issue Jun 22, 2016 · 2 comments

Comments

@callumlocke
Copy link

This is causing undebuggable problems for me

try {
compareArrays(builtFiles, expectedFiles)
} catch(e) {
throw `${e} is in your .gitignore but has not been built - is the build broken, or do you need to remove a line from .gitignore?`;
}
try {
compareArrays(expectedFiles, builtFiles)
} catch(e) {
throw `${e} has been built but is not in your .gitignore - is the build broken, or do you need to add a new line to .gitignore?`;
}

@wheresrhys
Copy link
Contributor

I think @i-like-robots fixed this

@i-like-robots
Copy link
Contributor

#7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants