mirror of
https://github.com/vale981/sphinx-multiversion
synced 2025-03-05 09:31:40 -05:00
main: Also catch OSErrors when loading the config
This commit is contained in:
parent
8f992a3761
commit
366e7f3c8b
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ def main(argv=None):
|
||||||
confpath,
|
confpath,
|
||||||
confoverrides,
|
confoverrides,
|
||||||
)
|
)
|
||||||
except sphinx_config.ConfigError:
|
except (OSError, sphinx_config.ConfigError):
|
||||||
logger.error(
|
logger.error(
|
||||||
"Failed load config for %s from %s",
|
"Failed load config for %s from %s",
|
||||||
gitref.refname, confpath)
|
gitref.refname, confpath)
|
||||||
|
|
Loading…
Add table
Reference in a new issue