mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 20:42:40 +00:00
fixed a couple bugs with error reporting
This commit is contained in:
@@ -89,7 +89,7 @@ module.exports = exports = class Page extends File {
|
||||
try {
|
||||
var { attributes: meta, body } = frontmatter(raw.toString('utf8'));
|
||||
} catch (e) {
|
||||
log.error('Error while parsing frontmatter for ' + this.filepath, e);
|
||||
log.error('Error while parsing frontmatter for ' + this.input + '\n', e);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user