From 9c7be2a61db711c105f83f65217abf2f4423c296 Mon Sep 17 00:00:00 2001 From: Jamie Barton Date: Tue, 16 Jul 2024 10:42:17 +0100 Subject: [PATCH] docs(readme): update quickstart and demo --- README.md | 2 -- demo/index.ts | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3fa96ac..f22b699 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,6 @@ const libsqlClient = createClient({ Sentry.init({ dsn: "...", - tracesSampleRate: 1, - profilesSampleRate: 1, integrations: [ libsqlIntegration(client, Sentry, { tracing: true, diff --git a/demo/index.ts b/demo/index.ts index 47a48fa..d61d890 100644 --- a/demo/index.ts +++ b/demo/index.ts @@ -15,9 +15,7 @@ const libsqlClient = createClient({ }); Sentry.init({ - dsn: "https://ccf1d142a24db91da5e0d3926277f6fe@o4507576416403456.ingest.de.sentry.io/4507576457560144", - tracesSampleRate: 1.0, - profilesSampleRate: 1.0, + dsn: "...", integrations: [ libsqlIntegration(libsqlClient, Sentry, { errors: true, @@ -34,3 +32,4 @@ libsqlClient .execute(`INSERT INTO users (name) VALUES ("Jamie")`) .then(console.log); libsqlClient.execute("SELECT * FROM users").then(console.log); +libsqlClient.execute("SELECT * FROM tabledoesntexist").then(console.log);