From 1c0020048f0aa8a52feb801d0c1ef27692552559 Mon Sep 17 00:00:00 2001 From: Fotis Voutsas Date: Wed, 20 Sep 2023 12:33:04 +0300 Subject: Update integrations/gen_docs_integrations.py Co-authored-by: Austin S. Hemmelgarn --- integrations/gen_docs_integrations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/gen_docs_integrations.py b/integrations/gen_docs_integrations.py index 14cf02dea3..0879fa80aa 100644 --- a/integrations/gen_docs_integrations.py +++ b/integrations/gen_docs_integrations.py @@ -254,7 +254,7 @@ def write_to_file(path, md, meta_yaml, sidebar_label, mode='default'): md = add_custom_edit_url(md, meta_yaml, sidebar_label) clean_and_write(md, txt) - except Exception as e: + except OSError as e: print("Error in writing to file", e, integration['id']) # If we only created one file inside the directory, add the entry to the symlink_dict, so we can make the symbolic link -- cgit v1.2.3