From: Norbert Bizet Date: Thu, 29 Jul 2021 14:36:38 +0000 (-0400) Subject: cloud: Fix #7986 About incorrect message when wait_one_transfer fails X-Git-Tag: Release-11.3.2~425 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c456be54c504fc1d613b366fb5b376631b5b826;p=thirdparty%2Fbacula.git cloud: Fix #7986 About incorrect message when wait_one_transfer fails --- diff --git a/bacula/src/stored/cloud_dev.c b/bacula/src/stored/cloud_dev.c index ee2a54224..c403a4f28 100644 --- a/bacula/src/stored/cloud_dev.c +++ b/bacula/src/stored/cloud_dev.c @@ -1317,9 +1317,9 @@ bool cloud_dev::wait_one_transfer(DCR *dcr, char *VolName, uint32_t part) dcr->jcr->setJobStatus(JS_Running); if (!ok) { - Qmsg2(dcr->jcr, M_FATAL, 0, - _("Unable to download Volume=\"%s\"%s.\n"), VolName, - (part==1)?" label":""); + Qmsg3(dcr->jcr, M_FATAL, 0, + _("Unable to download Volume=\"%s\"%s. %s\n"), VolName, + (part == 1) ? " label" : "", item->m_message ? item->m_message:""); } return ok; } else {