diff --git a/server/data.ts b/server/data.ts index 59a6952..33b8880 100644 --- a/server/data.ts +++ b/server/data.ts @@ -38,7 +38,11 @@ switch (env.data_engine) { } case 'kv': { - kv = await Deno.openKv() + try { + kv = await Deno.openKv() + } catch (_error) { + throw new Error('KV Engine not supported (run with --unstable)') + } break }