diff --git a/NEWS b/NEWS index 65318ac7..4a31bbc9 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,13 @@ Version 2.5 ... +Version 2.4.1 +============= + +Bugs corrected: + + * Fatal error using Python 3.4 and Docker plugin bug (issue #602) + Version 2.4 =========== diff --git a/glances/plugins/glances_docker.py b/glances/plugins/glances_docker.py index 5ee72b33..42ca7f02 100644 --- a/glances/plugins/glances_docker.py +++ b/glances/plugins/glances_docker.py @@ -165,7 +165,8 @@ class Plugin(GlancesPlugin): try: self.docker_stats[c['Id']] = self.docker_client.stats(c['Id'], decode=True) logger.debug("Create Docker stats object for container {}".format(c['Id'])) - except (AttributeError, docker.errors.InvalidVersion) as e: + except Exception as e: + # Correct Issue #602 logger.error("Can not call Docker stats method {}".format(e)) # Get the docker stats