diff options
author | nicolargo <nicolas@nicolargo.com> | 2017-03-21 21:35:17 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2017-03-21 21:35:17 +0100 |
commit | 5a12dffb58edb74748b02f6b2cc06e49d28e54ad (patch) | |
tree | 615cd3e40369e2147f6e97c7d96dd001762a777d | |
parent | 285dcd5b432f76505739144ec215df5a922358a1 (diff) |
Change error message when Plugin init failed
-rw-r--r-- | glances/stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glances/stats.py b/glances/stats.py index ac31eaa1..36149019 100644 --- a/glances/stats.py +++ b/glances/stats.py @@ -106,7 +106,7 @@ class GlancesStats(object): except Exception as e: # If a plugin can not be log, display a critical message # on the console but do not crash - logger.critical("Error while initializing the {} plugin (see complete traceback in the log file)".format(name)) + logger.critical("Error while initializing the {} plugin ({}})".format(name, e)) logger.error(traceback.format_exc()) def load_plugins(self, args=None): |