Skip to content

Commit

Permalink
first commit (#1190)
Browse files Browse the repository at this point in the history
Co-authored-by: tomer-stripe <42354557+tomer-stripe@users.noreply.github.com>
  • Loading branch information
tlefevre-stripe and tomer-stripe committed May 29, 2024
1 parent 85f9f7e commit ef6240e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fixtures/triggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func Trigger(ctx context.Context, event string, stripeAccount string, baseURL st
} else {
exists, _ := afero.Exists(fs, event)
if !exists {
return nil, fmt.Errorf(fmt.Sprintf("The event ‘%s’ is not supported by the Stripe CLI.", event))
return nil, fmt.Errorf(fmt.Sprintf("The event `%s` is not supported by Stripe CLI. To trigger unsupported events, use the Stripe API or Dashboard to perform actions that lead to the event you want to trigger (for example, create a Customer to generate a `customer.created` event). You can also create a custom fixture: https://docs.stripe.com/cli/fixtures", event))
}

fixture, err = BuildFromFixtureFile(fs, apiKey, stripeAccount, baseURL, event, skip, override, add, remove, edit)
Expand Down

0 comments on commit ef6240e

Please sign in to comment.