fix exception traceback reporting

This commit is contained in:
Lincoln Stein
2023-09-14 10:52:26 -05:00
parent 27dcd89c90
commit ac88863fd2

View File

@ -448,7 +448,7 @@ class DownloadQueue(DownloadQueueBase):
self._update_job_status(job, DownloadJobStatus.ERROR)
except Exception as excp:
self._logger.error(f"An error occurred while downloading/installing {dest}: {str(excp)}")
traceback.print_exception(excp)
print(traceback.format_exc())
job.error = excp
self._update_job_status(job, DownloadJobStatus.ERROR)