2ch commited on
Commit
101262d
·
verified ·
1 Parent(s): 53a8bc7

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -26,7 +26,7 @@ class WebsiteParser {
26
  const article = reader.parse();
27
 
28
  if (!article) {
29
- throw new Error('Failed to parse content');
30
  }
31
 
32
  const markdown = turndownService.turndown(article.content);
 
26
  const article = reader.parse();
27
 
28
  if (!article) {
29
+ throw new Error('не удалось спарсить страницу');
30
  }
31
 
32
  const markdown = turndownService.turndown(article.content);