diff --git a/lib/network/kmip/Client.ts b/lib/network/kmip/Client.ts index 848531579..2eb98b069 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(JSON.stringify(err)); + const error = arsenalErrorKMIP(err); logger.error('KMIP::createBucketKey', { error, serverInformation: this.serverInformation });