actually fix UserError checking

This commit is contained in:
Romain Beaumont 2016-03-14 19:39:29 +01:00
parent a12039e1bd
commit 5ffbdd0373

View file

@ -9,8 +9,8 @@ class ExtendableError extends Error {
class UserError extends ExtendableError {
constructor(message) {
this.userError=1;
super(message);
this.userError=1;
}
}