[gentoo-portage-dev] [PATCH 2/2] emaint: log FileCopier exceptions

2019-11-06 Thread Zac Medico
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

[gentoo-portage-dev] [PATCH 0/2] emaint: clean up FileCopier exception logging

2019-11-06 Thread Zac Medico
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

[gentoo-portage-dev] [PATCH 1/2] FileCopier: capture exceptions

2019-11-06 Thread Zac Medico
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 +++