mirror of
https://github.com/certbot/certbot.git
synced 2026-01-27 19:42:53 +03:00
Catch all pyparsing exceptions
This commit is contained in:
@@ -180,7 +180,7 @@ class NginxParser(object):
|
||||
return nginxparser.load(_file).spaced
|
||||
except IOError:
|
||||
logger.warn("Missing NGINX TLS options file: %s", ssl_options)
|
||||
except pyparsing.ParseException:
|
||||
except pyparsing.ParseBaseException:
|
||||
logger.debug("Could not parse file: %s", ssl_options)
|
||||
return []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user