File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -267,17 +267,20 @@ export default {
267
267
this .address = ' '
268
268
this .isConfirmPage = false
269
269
} catch (error) {
270
- if (
271
- error .response .data .message ===
272
- ' Invalid parameter: Token withdrawal limit has been exceeded.'
273
- ) {
270
+ const message = error .response .data .message
271
+ if (message === ' Invalid parameter: Token withdrawal limit has been exceeded.' ) {
274
272
const dailyLimit = addDigitSeparator (
275
273
new BigNumber (process .env .DAILY_LIMIT_TOKEN_SEND_VALUE ).div (formatNumber).toString (10 )
276
274
)
277
275
this .sendNotification ({
278
276
text: ` 一日の出金上限額である${ dailyLimit} ALIS(手数料含む)を超えたため、出金できませんでした` ,
279
277
type: ' warning'
280
278
})
279
+ } else if (message === ' Invalid parameter: send_value' ) {
280
+ this .sendNotification ({
281
+ text: ' エラーが発生しました。入力内容を確認してください' ,
282
+ type: ' warning'
283
+ })
281
284
} else {
282
285
this .sendNotification ({
283
286
text: ' 出金のトランザクション発行に失敗しました' ,
You can’t perform that action at this time.
0 commit comments