prompt window with logs on raised exception; minor UI updates; minor fixes

This commit is contained in:
Vasyl Horbachenko
2018-07-29 04:16:39 +03:00
parent 73d4a2d414
commit 9dbc9a8a56
25 changed files with 146 additions and 57 deletions

View File

@@ -1,3 +1,4 @@
import logging
import typing
import pickle
import os
@@ -56,5 +57,5 @@ def save_game(game) -> bool:
shutil.copy(_temporary_save_file(), _save_file())
return True
except Exception as e:
print(e)
logging.error(e)
return False