From bb55a5042dd2d68552fea8aa3b8211b7b51a2f97 Mon Sep 17 00:00:00 2001 From: Maha Benzekri Date: Thu, 2 Jan 2025 13:05:12 +0100 Subject: [PATCH] fixup --- lib/network/kmip/Client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/network/kmip/Client.ts b/lib/network/kmip/Client.ts index 2eb98b069..dad49f0d2 100644 --- a/lib/network/kmip/Client.ts +++ b/lib/network/kmip/Client.ts @@ -363,7 +363,7 @@ export default class Client { KMIP.Structure('Template-Attribute', attributes), ], (err, response) => { if (err) { - const error = arsenalErrorKMIP(err); + const error = arsenalErrorKMIP(err.message); logger.error('KMIP::createBucketKey', { error, serverInformation: this.serverInformation });