From 07d1c153ad048c184c5a89ffcffb5822a7b9e83f Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Mon, 9 Oct 2023 17:35:55 +1100 Subject: [PATCH] chore: improve Stripe disabled message (#624) This console message directs the dev to where they can learn to set up Stripe. --- main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.ts b/main.ts index d10ec1b6ddde..c06d53e20f8f 100644 --- a/main.ts +++ b/main.ts @@ -14,7 +14,8 @@ import { isStripeEnabled } from "@/utils/stripe.ts"; console.log( isStripeEnabled() ? "`STRIPE_SECRET_KEY` environment variable is defined. Stripe is enabled." - : "`STRIPE_SECRET_KEY` environment variable is not defined. Stripe is disabled.", + : "`STRIPE_SECRET_KEY` environment variable is not defined. Stripe is disabled.\n" + + "For more information on how to set up Stripe, see https://github.com/denoland/saaskit#set-up-stripe-optional", ); await start(manifest, config);