mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
Catch errors when installing pandoc
This commit is contained in:
parent
032e1a7904
commit
903faa8fef
1 changed files with 6 additions and 1 deletions
|
@ -159,7 +159,12 @@ class Scraper:
|
|||
except OSError:
|
||||
pass
|
||||
|
||||
pypandoc.download_pandoc(delete_installer=True)
|
||||
try:
|
||||
pypandoc.download_pandoc(delete_installer=True)
|
||||
except Exception as err:
|
||||
self.print_error(f"Unable to install pandoc: {err}")
|
||||
return
|
||||
|
||||
self.pandoc_available = True
|
||||
|
||||
def html_to_markdown(self, page_source):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue