Skip to content

Commit

Permalink
docs(readme): update quickstart and demo
Browse files Browse the repository at this point in the history
  • Loading branch information
notrab committed Jul 16, 2024
1 parent e1bd5b1 commit 9c7be2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ const libsqlClient = createClient({

Sentry.init({
dsn: "...",
tracesSampleRate: 1,
profilesSampleRate: 1,
integrations: [
libsqlIntegration(client, Sentry, {
tracing: true,
Expand Down
5 changes: 2 additions & 3 deletions demo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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);

0 comments on commit 9c7be2a

Please sign in to comment.