@@ 129,4 129,5 @@ fetch(args[0])
const article = reader.parse();
const readable = new JSDOM(article.content, {url: args[0]});
console.log(convert(readable.window.document, article.title));
- });
+ })
+ .catch(() => console.log("An error occured while fetching this page."));