1
0
Fork 0

fix(config): pass include errors as nested cause

This commit is contained in:
ssube 2019-11-01 05:05:46 -05:00 committed by Sean Sube
parent 37b1aaeb51
commit 6ab7d9c6e4
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export const includeType = new YamlType('!include', {
throw new NotFoundError('included file does not exist');
}
} catch (err) {
throw new NotFoundError('included file does not exist');
throw new NotFoundError('included file does not exist', err);
}
},
construct(path: string): unknown {