diff --git a/lib/s3routes/routesUtils.ts b/lib/s3routes/routesUtils.ts index 46d722716..e5b998a54 100644 --- a/lib/s3routes/routesUtils.ts +++ b/lib/s3routes/routesUtils.ts @@ -147,8 +147,8 @@ export const XMLResponseBackend = { xml.push( '', '', - `${errCode.message}`, - `${errCode.description}`, + `${error.message}`, + `${error.description}`, ); const invalidArguments = error.metadata.get('invalidArguments') || []; invalidArguments.forEach((invalidArgument, index) => { diff --git a/package.json b/package.json index fd2b8cab8..15477a085 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "sproxydclient": "github:scality/sproxydclient#8.1.0", "utf8": "^3.0.0", "uuid": "^10.0.0", - "werelogs": "scality/werelogs#8.2.0", + "werelogs": "scality/werelogs#8.2.2", "xml2js": "^0.6.2" }, "optionalDependencies": { diff --git a/yarn.lock b/yarn.lock index 8f859d46b..e82107340 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7635,6 +7635,13 @@ werelogs@scality/werelogs#8.2.0: fast-safe-stringify "^2.1.1" safe-json-stringify "^1.2.0" +werelogs@scality/werelogs#8.2.2: + version "8.2.2" + resolved "https://codeload.github.com/scality/werelogs/tar.gz/e53bef5145697bf8af940dcbe59408988d64854f" + dependencies: + fast-safe-stringify "^2.1.1" + safe-json-stringify "^1.2.0" + whatwg-url@^11.0.0: version "11.0.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-11.0.0.tgz#0a849eebb5faf2119b901bb76fd795c2848d4018"