mirror of
https://github.com/vale981/sphinx-multiversion
synced 2025-03-04 17:11:39 -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,
|
||||
confoverrides,
|
||||
)
|
||||
except sphinx_config.ConfigError:
|
||||
except (OSError, sphinx_config.ConfigError):
|
||||
logger.error(
|
||||
"Failed load config for %s from %s",
|
||||
gitref.refname, confpath)
|
||||
|
|
Loading…
Add table
Reference in a new issue