Updates
This commit is contained in:
@@ -52,6 +52,7 @@ export default function decrypt({
|
||||
return decrypted;
|
||||
} catch (error: any) {
|
||||
console.log("Error in decrypting =>", error.message);
|
||||
global.ERROR_CALLBACK?.(`Error Decrypting data`, error as Error);
|
||||
return encryptedString;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,6 +53,7 @@ export default function encrypt({
|
||||
return encrypted;
|
||||
} catch (error: any) {
|
||||
console.log("Error in encrypting =>", error.message);
|
||||
global.ERROR_CALLBACK?.(`Error Encrypting Data`, error as Error);
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user