mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-08-12 10:48:41 +00:00
feat(app): lint & beautify
This commit is contained in:
@ -79,7 +79,10 @@ export const getDocumentsFromLinks = async ({ links }: { links: string[] }) => {
|
||||
|
||||
docs.push(...linkDocs);
|
||||
} catch (err) {
|
||||
console.error("An error occurred while getting documents from links: ", err);
|
||||
console.error(
|
||||
'An error occurred while getting documents from links: ',
|
||||
err,
|
||||
);
|
||||
docs.push(
|
||||
new Document({
|
||||
pageContent: `Failed to retrieve content from the link: ${err}`,
|
||||
|
Reference in New Issue
Block a user