Skip to content

Commit 51f2cb1

Browse files
authored
Merge pull request #843 from LIT-Protocol/feature/node-4611-fix-error-is-not-surfacing-properly-when-error-occurs-on
Feature/node 4611 fix error is not surfacing properly when error occurs on
2 parents 345a78c + c9134f3 commit 51f2cb1

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)