Better reporting for DB corruption errors
This commit is contained in:
parent
092c2fd0d7
commit
1b1ed2cd05
7 changed files with 43 additions and 5 deletions
12
patches/@types+better-sqlite3+7.4.0.patch
Normal file
12
patches/@types+better-sqlite3+7.4.0.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/node_modules/@types/better-sqlite3/index.d.ts b/node_modules/@types/better-sqlite3/index.d.ts
|
||||
index d6e4309..5948fd0 100755
|
||||
--- a/node_modules/@types/better-sqlite3/index.d.ts
|
||||
+++ b/node_modules/@types/better-sqlite3/index.d.ts
|
||||
@@ -84,6 +84,7 @@ declare namespace BetterSqlite3 {
|
||||
prototype: Database;
|
||||
|
||||
SqliteError: typeof SqliteError;
|
||||
+ setCorruptionLogger(fn: (message: string) => void): void;
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue