This is the problematic line:
logging.error("Dist-upgrade failed: '%s'", e)
Maybe, the comma is causing the issue.
This is the problematic line:
Maybe, the comma is causing the issue.