Revert "Catch all pyparsing exceptions"

This reverts commit 7fb5cf1cf5.
This commit is contained in:
Brad Warren
2016-08-16 19:33:19 -07:00
parent 1aa18a3bad
commit 465aa38143
+1 -1
View File
@@ -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