From 846bbfa7049464736ad383e4dcfe2d23270e1fdb Mon Sep 17 00:00:00 2001 From: Nathan Leniz Date: Tue, 3 May 2022 08:21:18 -0700 Subject: [PATCH] remove error limit --- nodejs/clients.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nodejs/clients.js b/nodejs/clients.js index 763caf7..0c9158e 100644 --- a/nodejs/clients.js +++ b/nodejs/clients.js @@ -5,9 +5,8 @@ const kmsClient = kms.localCsfleHelper(); async function main(regularClient, csfleClient) { try { - let dataKey = "RQo8Da4DTRSGrf8FN30kGw=="; // change this to the base64 encoded data key generated from make-data-key.js + let dataKey = null; // change this to the base64 encoded data key generated from make-data-key.js if (dataKey === null) { - Error.stackTraceLimit = 1ed let err = new Error( `dataKey is required. Run make-data-key.js and ensure you copy and paste the output into client.js