Since FileCopier now captures exceptions instead of showing
a traceback, it's necessary to explicitly log them.
Bug: https://bugs.gentoo.org/699400
Signed-off-by: Zac Medico
---
lib/portage/_emirrordist/DeletionTask.py | 2 +-
lib/portage/_emirrordist/FetchTask.py| 8
2 files change
Use ForkExecutor to capture exceptions instead of showing
a full traceback. FileCopier callers will now be responsible
for displaying relevant exception messages.
Bug: https://bugs.gentoo.org/699400
Zac Medico (2):
FileCopier: capture exceptions
emaint: log FileCopier exceptions
lib/portage
Use ForkExecutor to capture exceptions instead of showing
a full traceback. FileCopier callers will now be responsible
for displaying relevant exception messages.
Bug: https://bugs.gentoo.org/699400
Signed-off-by: Zac Medico
---
lib/portage/tests/util/test_file_copier.py | 44 +++