mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
return statement misssing
This commit is contained in:
parent
a3d6d876c4
commit
8bae47b007
1 changed files with 2 additions and 0 deletions
|
@ -79,11 +79,13 @@ function workspaceEndpoints(app) {
|
|||
error: `Python processing API is not online. Document ${originalname} will not be processed automatically.`,
|
||||
})
|
||||
.end();
|
||||
return;
|
||||
}
|
||||
|
||||
const { success, reason } = await processDocument(originalname);
|
||||
if (!success) {
|
||||
response.status(500).json({ success: false, error: reason }).end();
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(
|
||||
|
|
Loading…
Add table
Reference in a new issue