Reduce suppression of .exe error logging

Increases verbosity to reduce aggressiveness of c670acba1f
This commit is contained in:
Etoh 2024-02-16 13:36:19 +00:00 committed by GitHub
parent 888bb537f7
commit d5eb213a59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ def blackholeStdoutForFrozenWindow():
self._file = open(path, 'a', encoding='utf-8') self._file = open(path, 'a', encoding='utf-8')
# TODO: Handle errors. # TODO: Handle errors.
if self._file is not None: if self._file is not None:
if not text.startswith("<frozen zipimport>"): if not (text.startswith("<frozen zipimport>") and "UserWarning:" in text):
self._file.write(text) self._file.write(text)
self._file.flush() self._file.flush()