Fix logging of exception

This commit is contained in:
Veronica K. B. Olsen
2021-02-12 20:26:37 +01:00
parent bd9691532f
commit ff1d625dc8
+2 -2
View File
@@ -156,9 +156,9 @@ class GuiWordList(QDialog):
for i in range(self.listBox.count()):
outFile.write(self.listBox.item(i).text() + "\n")
except Exception as e:
except Exception:
logger.error("Could not save new word list")
logger.error(str(e))
nw.logException()
self.reject()
if os.path.isfile(dctFile):