Skip to content

Commit f0fa182

Browse files
authored
handle "denied request signature" string (#3349)
1 parent d5377d9 commit f0fa182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wormhole-connect/src/utils/errors.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { amount as sdkAmount } from '@wormhole-foundation/sdk';
1919
// attempt to capture errors using regex
2020
export const INSUFFICIENT_ALLOWANCE_REGEX = /insufficient token allowance/im;
2121
export const USER_REJECTED_REGEX = new RegExp(
22-
'user rejected|rejected the request|rejected from user|user cancel|aborted by user|plugin closed',
22+
'user rejected|rejected the request|rejected from user|user cancel|aborted by user|plugin closed|denied request signature',
2323
'mi',
2424
);
2525
export const AMOUNT_IN_TOO_SMALL = new RegExp('AmountInTooSmall', 'm');

0 commit comments

Comments
 (0)