1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 17:24:46 +00:00

fix exception handling

This commit is contained in:
deadc0de6
2020-07-26 17:58:50 +02:00
parent 3f6a36ec45
commit 0752c7e4ea

View File

@@ -329,7 +329,7 @@ class Installer:
try:
content = templater.generate(src)
except UndefinedException as e:
return False, e.message
return False, str(e)
finally:
templater.restore_vars(saved)
if noempty and utils.content_empty(content):