Rethrow input parse in mask parser

This commit is contained in:
Jesse Boyd 2018-08-17 23:07:41 +10:00
parent 44c5447edb
commit 5d47d1bce6
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -147,6 +147,8 @@ public class DefaultMaskParser extends FaweParser<Mask> {
}
masks.get(masks.size() - 1).add(mask);
}
} catch (InputParseException ignore) {
throw ignore;
} catch (Throwable e) {
e.printStackTrace();
throw new InputParseException(e.getMessage(), e);