1. Benoît Bryon
  2. sphinx


Georg Brandl  committed de970cb

autodoc: debug module analyzer failure

  • Participants
  • Parent commits d263bff
  • Branches default

Comments (0)

Files changed (1)

File sphinx/ext/autodoc.py

View file
             # parse right now, to get PycodeErrors on parsing (results will
             # be cached anyway)
-        except PycodeError:
+        except PycodeError, err:
+            self.env.app.debug('[autodoc] module analyzer failed: %s', err)
             # no source file -- e.g. for builtin and C modules
             self.analyzer = None
             # at least add the module.__file__ as a dependency