mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
add line number to the error output when parsing a tag's type expression (#1057)
This commit is contained in:
parent
3c325725bc
commit
af5d169673
@ -76,7 +76,7 @@ function parseType(tag, tagDef, meta) {
|
||||
catch (e) {
|
||||
jsdoc.util.logger.error(
|
||||
'Unable to parse a tag\'s type expression%s with tag title "%s" and text "%s": %s',
|
||||
meta.filename ? ( ' for source file ' + path.join(meta.path, meta.filename) ) : '',
|
||||
meta.filename ? ( ' for source file ' + path.join(meta.path, meta.filename) + (meta.lineno ? (' in line ' + meta.lineno) : '') ) : '',
|
||||
tag.originalTitle,
|
||||
tag.text,
|
||||
e.message
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user