Skip to content
Permalink
Browse files

Improved error message.

  • Loading branch information
felixfontein committed Jan 8, 2017
1 parent 4674761 commit 89eb2859ce14804022e9fa58c2ef443c0b69710b
Showing with 1 addition and 1 deletion.
  1. +1 −1 v7/static_comments/static_comments.py
@@ -96,7 +96,7 @@ def _compile_content(self, compiler_name, content, filename):
try:
return compiler.compile_to_string(content)
except AttributeError:
_LOGGER.error("Page compiler plugin '{0}' provides no compile_to_string function (comment {1})!".format(compiler_name, filename))
_LOGGER.error("Page compiler plugin '{0}' provides no compile_string or compile_to_string function (comment {1})!".format(compiler_name, filename))
exit(1)

def _read_comment(self, filename, owner, id):

0 comments on commit 89eb285

Please sign in to comment.
You can’t perform that action at this time.