mirror of
https://github.com/certbot/certbot.git
synced 2026-04-10 19:49:22 -04:00
Catch all pyparsing exceptions
This commit is contained in:
parent
465aa38143
commit
449487e8cb
1 changed files with 1 additions and 1 deletions
|
|
@ -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 []
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue