We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b37f66 commit 34b3a47Copy full SHA for 34b3a47
1 file changed
src/storage/db/db.ts
@@ -4,7 +4,7 @@ import * as path from "node:path";
4
import { DatabaseSync } from "node:sqlite";
5
6
import { FileMigrationProvider, Kysely, Migrator } from "kysely";
7
-import { captureException, startInactiveSpan } from "@sentry/node";
+import { captureException } from "@sentry/node";
8
9
import { SqliteDialect } from "./dialect/sqlite-dialect.ts";
10
import type { Database } from "./model.ts";
@@ -50,14 +50,6 @@ export async function connectToDb(databasePath: string) {
50
) {
51
return;
52
}
53
-
54
- startInactiveSpan({
55
- name: info.sql,
56
- op: "db.query",
57
- startTime: new Date(Date.now() - info.duration),
58
- onlyIfParent: true,
59
- }).end();
60
61
log.debug(info, "DB Query");
62
break;
63
default:
0 commit comments