mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-17 11:22:28 +12:00
5117f7d476
When implementing most of the logging code weeks ago, I got so caught up in implementing and testing the Qt bits that I completely blanked on actually implementing the Python-side of catching exceptions. Unfortunately, it is not exactly trivial. PyQt complicates things, but also Python itself isn't very helpful in older versions which will rob the ability to properly log errors from threads. By the time I realized we don't actually use the threading module and that catching the errors on there does not actually help to fix the weirdness I was seeing, it was already implemented. Thank you PyQt for surprising me yet again! :-) I have tested this on Python 3.7 by raising random exceptions in various parts of the codebase to make sure it behaves as expected. I haven't quite gotten around to installing Python 3.8 yet but this gets it out for testing. I'll hopefully not forget to do more tests in 3.8 when I do the final squashing prior to a merge. |
||
---|---|---|
.. | ||
converters | ||
exporter | ||
functions | ||
importer | ||
load_save | ||
models | ||
tests | ||
ui | ||
__init__.py | ||
enums.py | ||
loadSave.py | ||
logging.py | ||
main.py | ||
mainWindow.py | ||
searchLabels.py | ||
settings.py | ||
settingsWindow.py | ||
version.py |