summary refs log tree commit diff stats
path: root/compiler/docgen2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/docgen2.nim')
-rw-r--r--compiler/docgen2.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/docgen2.nim b/compiler/docgen2.nim
index d76be8e3c..1bff89b55 100644
--- a/compiler/docgen2.nim
+++ b/compiler/docgen2.nim
@@ -26,7 +26,7 @@ proc close(p: PPassContext, n: PNode): PNode =
     writeOutput(g.doc, g.module.filename, HtmlExt, useWarning)
     try:
       generateIndex(g.doc)
-    except EIO:
+    except IOError:
       discard
 
 proc processNode(c: PPassContext, n: PNode): PNode =