diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 176559934..35c35e97b 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -3378,6 +3378,8 @@ class DocumentTemplate(models.Model):              raise TemplateSyntaxError(str(e), e.lineno)          except UndefinedError as e:              raise TemplateSyntaxError(str(e), 0) +        except Exception as e: +            raise TemplateSyntaxError(str(e), 0)          output = open(output_name, 'wb')          output.write(result)          return output_name | 
