mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 18:56:55 +02:00
Revert "Catch all pyparsing exceptions"
This reverts commit 7fb5cf1cf5.
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.ParseBaseException:
|
||||
except pyparsing.ParseException:
|
||||
logger.debug("Could not parse file: %s", item)
|
||||
return trees
|
||||
|
||||
|
||||
Reference in New Issue
Block a user