update error logging
cutting all kind of prefixes for prompt making
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import "dotenv/config";
|
||||
import {drizzle, LibSQLDatabase} from "drizzle-orm/libsql";
|
||||
import {Environment} from "../common/environment";
|
||||
import {logError} from "../util/utils";
|
||||
|
||||
export class DatabaseManager {
|
||||
|
||||
@@ -10,7 +11,7 @@ export class DatabaseManager {
|
||||
try {
|
||||
DatabaseManager.db = drizzle(Environment.DB_PATH);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
logError(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user