]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
s3_driver: Fix #10130 Add debug to S3 driver
authornorbert.bizet <norbert.bizet@baculasystems.com>
Fri, 19 May 2023 12:46:46 +0000 (08:46 -0400)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:01 +0000 (13:57 +0200)
bacula/src/stored/s3_driver.c

index d9f7fbe752d2e6f2253edaa322855e604d7b1888..b592b8e878f3389ba2b184d904330bf4e3fe1a16 100644 (file)
@@ -356,7 +356,7 @@ static void responseCompleteCallback(
    if ((status != S3StatusOK) && ctx->errMsg) 
    {
       POOL_MEM tmp;
-      Mmsg(tmp, " %s ERR=%s", ctx->caller, msg);
+      Mmsg(tmp, " %s %s ERR=%s", ctx->caller, S3Errors[status], msg);
       pm_strcat(ctx->errMsg, tmp);
       if (oops->furtherDetails) {
          pm_strcat(ctx->errMsg, " ");