fix: restore error variable in catch block for logging
Fix TypeScript error where error variable was removed from catch block but still used in logging statements. The error variable is needed for proper error logging and re-throwing.
This commit is contained in:
@@ -53,7 +53,7 @@ export class LazyFieldEncryption {
|
||||
fieldName,
|
||||
);
|
||||
return decrypted;
|
||||
} catch {
|
||||
} catch (error) {
|
||||
const legacyFieldName = this.LEGACY_FIELD_NAME_MAP[fieldName];
|
||||
if (legacyFieldName) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user