mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 16:19:13 +02:00
Replace e.message with str(e) for Python 3 compatibility (#4416)
This commit is contained in:
committed by
Brad Warren
parent
d557c39c99
commit
4b91f7fbbc
+1
-1
@@ -79,7 +79,7 @@ def _reconstitute(config, full_path):
|
||||
except (ValueError, errors.Error) as error:
|
||||
logger.warning(
|
||||
"An error occurred while parsing %s. The error was %s. "
|
||||
"Skipping the file.", full_path, error.message)
|
||||
"Skipping the file.", full_path, str(error))
|
||||
logger.debug("Traceback was:\n%s", traceback.format_exc())
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user