提交 24476712 编写于 作者: N nicolargo

Crashes when influxdb option set #1260

上级 fdd22cfb
......@@ -57,6 +57,7 @@ Bugs corrected:
* Stats updated during export (thread issue) #1250
* Glances --browser crashed when more than 40 glances servers on screen 78x45 #1256
* OSX - Python 3 and empty percent and res #1251
* Crashes when influxdb option set #1260
Backward-incompatible changes:
......
......@@ -38,9 +38,8 @@ except ImportError:
psutil_tag = True
try:
psutil.sensors_battery()
except (OSError, AttributeError) as e:
logger.debug("Cannot grab battery status. Platform not supported.")
logger.error(e)
except Exception as e:
logger.error("Cannot grab battery status {}.".format(e))
psutil_tag = False
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册