Skip to content

Commit

Permalink
Dactyl v0.7.2: better reporting for Jinja errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mDuo13 committed Apr 4, 2018
1 parent 4672bfb commit fa4df68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dactyl/dactyl_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ def parse_markdown(page, target=None, pages=None, categories=[], mode="html",
)
except Exception as e:
traceback.print_tb(e.__traceback__)
recoverable_error("Couldn't preprocess markdown for page %s: %s" %
(page["name"], repr(e)), bypass_errors)
recoverable_error("Couldn't preprocess markdown for page %s: %s(%s)" %
(page["name"], repr(e), str(e)), bypass_errors)
# Just fetch the md without running the preprocessor
md = preprocess_markdown(page,
target=target,
Expand Down
2 changes: 1 addition & 1 deletion dactyl/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.7.1'
__version__ = '0.7.2'

0 comments on commit fa4df68

Please sign in to comment.