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/_emirrordist/DeletionTask.py | 2 +- lib/portage/_emirrordist/FetchTask.py | 8 ++-- lib/portage/tests/util/test_file_copier.py | 44 ++++++++++++++++++++++ lib/portage/util/_async/FileCopier.py | 16 ++++---- 4 files changed, 58 insertions(+), 12 deletions(-) create mode 100644 lib/portage/tests/util/test_file_copier.py -- 2.21.0