mirror of https://github.com/nicolargo/glances.git
Merge branch 'issue1469' into develop
This commit is contained in:
commit
dbc7b96e51
3
NEWS
3
NEWS
|
|
@ -19,7 +19,8 @@ Bugs corrected:
|
|||
* 500 Internal Server Error /api/3/network/interface_name #1401
|
||||
* Connection to MQTT server failed : getaddrinfo() argument 2 must be integer or string #1450
|
||||
* `l` keypress (hide alert log) not working after some time #1449
|
||||
* Too less data using prometheus exporter #1462
|
||||
* Too less data using prometheus exporter #1462
|
||||
* Getting an error when running with prometheus exporter #1469
|
||||
|
||||
Others:
|
||||
|
||||
|
|
|
|||
|
|
@ -131,7 +131,8 @@ class Plugin(GlancesPlugin):
|
|||
ret.append(self.curse_add_line(msg))
|
||||
try:
|
||||
msg_pub = '{}'.format(self.stats['public_address'])
|
||||
except UnicodeEncodeError:
|
||||
except (UnicodeEncodeError, KeyError):
|
||||
# Add KeyError exception (see https://github.com/nicolargo/glances/issues/1469)
|
||||
pass
|
||||
else:
|
||||
if self.stats['public_address'] is not None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue