Skip to content

Commit

Permalink
Update ngdoc.js (#105)
Browse files Browse the repository at this point in the history
Additional debugging to catch formatting errors
  • Loading branch information
kithix authored and andyperlitch committed Aug 19, 2016
1 parent 2ec7c73 commit 7404425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngdoc.js
Expand Up @@ -536,7 +536,7 @@ Doc.prototype = {
});

(self['html_usage_' + self.ngdoc] || function() {
throw new Error("Don't know how to format @ngdoc: " + self.ngdoc);
throw new Error("Don't know how to format @ngdoc: " + self.ngdoc +"\n Issue is located in file: "+self.file+"\n Line #: "+self.line);
}).call(self, dom);

dom.h('Example', self.example, dom.html);
Expand Down

0 comments on commit 7404425

Please sign in to comment.