mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-26 17:42:29 +08:00
fix(llm): resolve linter errors
This commit is contained in:
parent
445ae312ef
commit
6952cfe845
@ -99,7 +99,8 @@ export default async function buildApp() {
|
||||
log.info("LLM features disabled in settings, skipping initialization");
|
||||
}
|
||||
} catch (error) {
|
||||
log.error("Error initializing LLM features:", error);
|
||||
const errorMsg = error instanceof Error ? error.message : String(error);
|
||||
log.error(`Error initializing LLM features: ${errorMsg}`);
|
||||
console.error("Error initializing LLM features:", error);
|
||||
}
|
||||
});
|
||||
@ -115,8 +116,9 @@ export default async function buildApp() {
|
||||
log.info("LLM features disabled in settings, skipping initialization");
|
||||
}
|
||||
} catch (error) {
|
||||
const errorMsg = error instanceof Error ? error.message : String(error);
|
||||
log.error(`Error initializing LLM features: ${errorMsg}`);
|
||||
console.error("Error initializing LLM features:", error);
|
||||
log.error(`Error initializing LLM features: ${error}`);
|
||||
}
|
||||
} else {
|
||||
log.info("Database not initialized yet. LLM features will be initialized after setup.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user