fix
[redakcja.git] / src / alerts / models.py
index 66d1bff..132531f 100644 (file)
@@ -21,7 +21,7 @@ class Alert(models.Model):
         cls.objects.filter(book=book).delete()
         try:
             wlbook = book.wldocument(publishable=False, librarian2=True)
-        except Exception:
+        except Exception as e:
             cls.objects.create(book=book, tag='parse', comment=str(e))
             return