Skip to content

Commit c9134f3

Browse files
committed
fix(naga-staging): handle encrypted errors in PKP Sign process
1 parent 5bf5189 commit c9134f3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/networks/src/networks/vNaga/envs/naga-staging/naga-staging.module.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,15 @@ const networkModuleObject = {
599599
requestId: string,
600600
jitContext: NagaJitContext
601601
) => {
602+
603+
if (!result.success) {
604+
E2EERequestManager.handleEncryptedError(
605+
result,
606+
jitContext,
607+
'PKP Sign'
608+
);
609+
}
610+
602611
const decryptedValues = E2EERequestManager.decryptBatchResponse(
603612
result,
604613
jitContext,

0 commit comments

Comments
 (0)