Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
vcheung-stripe committed Jun 9, 2021
1 parent 50fbc86 commit cf2753c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stripeTerminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class StripeTerminal {
if (this.terminals.length > 0) {
const terminal = await this.createNewSplitTerminal();
if (!terminal) {
throw new Error('Failed to split Stripe terminal');
throw new Error('Failed to create a terminal for this Stripe command. Please try again.');
}

this.terminals.push(terminal);
Expand Down

0 comments on commit cf2753c

Please sign in to comment.