web/satellite: error while adding credit card handled
Change-Id: I995eb4f07a62c26052226ddbbf06ee332323a0dd
This commit is contained in:
parent
309ac41bfc
commit
a81af2829e
@ -238,7 +238,13 @@ export default class AddPaymentMethodModal extends Vue {
|
||||
|
||||
this.isLoading = true;
|
||||
|
||||
await this.$refs.stripeCardInput.onSubmit();
|
||||
try {
|
||||
await this.$refs.stripeCardInput.onSubmit();
|
||||
} catch (error) {
|
||||
await this.$notify.error(error.message)
|
||||
}
|
||||
|
||||
this.isLoading = false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user