add save error log

This commit is contained in:
misyaguziya committed 2023-06-20 10:56:42 +09:00
1 parent 971701cc88
commit 2c1d75c55f
1 file changed
+2 -1
+2 -1
View File
@@ -542,4 +542,5 @@ if __name__ == "__main__":
app = App()
app.mainloop()
except Exception as e:
print(e)
with open("./error.log", "r") as fp:
fp.write(f"{e}")