mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
Add missing directory field (#7687)
Fixes #7683. * Add missing directory field to error message * Added change to CHANGELOG.md
This commit is contained in:
committed by
Brad Warren
parent
fd91643a7f
commit
6e07e8b5c0
@@ -251,7 +251,7 @@ class Directory(jose.JSONDeSerializable):
|
||||
try:
|
||||
return self._jobj[self._canon_key(name)]
|
||||
except KeyError:
|
||||
raise KeyError('Directory field not found')
|
||||
raise KeyError('Directory field "' + self._canon_key(name) + '" not found')
|
||||
|
||||
def to_partial_json(self):
|
||||
return self._jobj
|
||||
|
||||
@@ -10,7 +10,7 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
|
||||
|
||||
### Changed
|
||||
|
||||
*
|
||||
* Add directory field to error message when field is missing.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user