Skip to content

Commit

Permalink
Merge pull request #390 from michaeljones/389
Browse files Browse the repository at this point in the history
print filename when printing ParserException
  • Loading branch information
vermeeren authored Aug 7, 2018
2 parents d5486d7 + d240b95 commit 37d1eb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions breathe/parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ def __init__(self, error, filename):
self.error = error
self.filename = filename

def __str__(self):
return ("file %s: %s" % (self.filename, self.error))


class FileIOError(Exception):

Expand Down

0 comments on commit 37d1eb5

Please sign in to comment.