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();
|