From 917c9dabc7c4df24e27c8a6f87d183b072ec8cca Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Tue, 4 May 2021 11:47:54 +0200 Subject: [PATCH] chore(backups/_VmBackup#copy{Delta,Full}): don't log writer errors These errors are already logged in tasks. --- @xen-orchestra/backups/_VmBackup.js | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/@xen-orchestra/backups/_VmBackup.js b/@xen-orchestra/backups/_VmBackup.js index 4f788b503..53791919b 100644 --- a/@xen-orchestra/backups/_VmBackup.js +++ b/@xen-orchestra/backups/_VmBackup.js @@ -169,13 +169,7 @@ exports.VmBackup = class VmBackup { sizeContainers, timestamp, }) - } catch (error) { - warn('copy failure', { - error, - target: writer.target, - vm: this.vm, - }) - } + } catch (error) {} }) this._baseVm = exportedVm @@ -221,13 +215,7 @@ exports.VmBackup = class VmBackup { stream: forkStreamUnpipe(stream), timestamp, }) - } catch (error) { - warn('copy failure', { - error, - target: writer.target, - vm: this.vm, - }) - } + } catch (error) {} }) const { size } = sizeContainer