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:
1 parent
83610cb077
commit
bbceb671fc
1 file changed
+1
-1
@@ -53,7 +53,7 @@ export class LazyFieldEncryption {
|
|||||||
fieldName,
|
fieldName,
|
||||||
);
|
);
|
||||||
return decrypted;
|
return decrypted;
|
||||||
} catch {
|
} catch (error) {
|
||||||
const legacyFieldName = this.LEGACY_FIELD_NAME_MAP[fieldName];
|
const legacyFieldName = this.LEGACY_FIELD_NAME_MAP[fieldName];
|
||||||
if (legacyFieldName) {
|
if (legacyFieldName) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in new issue
Block a user