fix: avoid crash on memory embeddings errors (#1004)
This commit is contained in:
@@ -178,4 +178,10 @@ async function main() {
|
||||
}
|
||||
}
|
||||
|
||||
void main();
|
||||
void main().catch((err) => {
|
||||
console.error(
|
||||
"[clawdbot] Gateway daemon failed:",
|
||||
err instanceof Error ? (err.stack ?? err.message) : err,
|
||||
);
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user