Browse Source

Add more precise error message

pull/108/head
Louis 9 years ago
parent
commit
82db9f39b6
  1. 2
      patacrep/songs/chordpro/__init__.py

2
patacrep/songs/chordpro/__init__.py

@ -71,7 +71,7 @@ class ChordproSong(Song):
jinjaenv=jinjaenv,
).template.render(context)
except jinja2.exceptions.TemplateNotFound:
raise NotImplementedError()
raise NotImplementedError("Cannot convert to format '{}'.".format(output_format))
@staticmethod
@contextfunction

Loading…
Cancel
Save