mirror of
https://github.com/certbot/certbot.git
synced 2026-04-13 13:10:22 -04:00
Catch all pyparsing exceptions
This commit is contained in:
parent
0b0eca323c
commit
7fb5cf1cf5
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ class NginxParser(object):
|
|||
trees.append(parsed)
|
||||
except IOError:
|
||||
logger.warning("Could not open file: %s", item)
|
||||
except pyparsing.ParseException:
|
||||
except pyparsing.ParseBaseException:
|
||||
logger.debug("Could not parse file: %s", item)
|
||||
return trees
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue