diff options
-rw-r--r-- | doc/conf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py index ca02f8dad..a42f29e6e 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -152,9 +152,10 @@ prologPath = "prolog.inc" try: with open(prologPath, "r") as prologFile: rst_prolog = prologFile.read() -except: +except Exception as ex: print("CWD: " + str(os.getcwd())) print("[ERROR:] File '{0!s}' not found.".format(prologPath)) + print(ex) rst_prolog = "" # -- Options for HTML output ---------------------------------------------- |