Skip to content

Commit a6f58c2

Browse files
committed
chore(examples): runtime enforce for needing the VITE_CONVEX_URL
1 parent 606d9a4 commit a6f58c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎examples/solid/start-convex-better-auth/src/library/convex-client.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { fetchAuth } from '~/library/server'
33

44
const CONVEX_URL = import.meta.env.VITE_CONVEX_URL
55
if (!CONVEX_URL) {
6-
console.error('missing envar CONVEX_URL')
6+
throw new Error('missing envar CONVEX_URL')
77
}
88

99
// Set up Convex client with auth

0 commit comments

Comments
 (0)