Merge branch 'config-export-feature' of https://github.com/tvarohohlavy/zerobyte into config-export-feature
This commit is contained in:
commit
11646b6187
1 changed files with 2 additions and 1 deletions
|
|
@ -98,7 +98,8 @@ async function processSecrets(
|
|||
} else if (secretsMode === "cleartext") {
|
||||
try {
|
||||
result[key] = await cryptoUtils.decrypt(value);
|
||||
} catch {
|
||||
} catch (err) {
|
||||
logger.warn(`Failed to decrypt field "${key}": ${err instanceof Error ? err.message : String(err)}`);
|
||||
delete result[key];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue