mirror of
https://github.com/certbot/certbot.git
synced 2026-07-26 07:39:52 +02:00
Catch all pyparsing exceptions
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user