summary refs log tree commit diff
path: root/src/util/secretUtils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/secretUtils.js')
-rw-r--r--src/util/secretUtils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/secretUtils.js b/src/util/secretUtils.js

index 92e1b1c..7394395 100644 --- a/src/util/secretUtils.js +++ b/src/util/secretUtils.js
@@ -3,7 +3,7 @@ import fs from 'node:fs/promises'; export async function readSecret(name, path) { console.log(`[SECRET] Reading secret "${name}" from path: ${path}`); if (!path) { - throw new Error('Path to secret file is required'); + throw new Error(`Path to secret file is required: ${name}`); } const content = await fs.readFile(path, 'utf8'); return content.trim();