mirror of
https://github.com/nicolargo/glances.git
synced 2026-05-18 19:47:40 -04:00
Clear-text logging of sensitive information - Related to https://github.com/nicolargo/glances/security/code-scanning/30 and https://github.com/nicolargo/glances/security/code-scanning/31
This commit is contained in:
@@ -99,7 +99,7 @@ class GlancesClient(object):
|
||||
# Fallback to SNMP
|
||||
self.client_mode = 'snmp'
|
||||
logger.error("Connection to Glances server failed ({} {})".format(err.errno, err.strerror))
|
||||
fall_back_msg = 'No Glances server found on {}. Trying fallback to SNMP...'.format(self.uri)
|
||||
fall_back_msg = 'No Glances server found. Trying fallback to SNMP...'
|
||||
if not self.return_to_browser:
|
||||
print(fall_back_msg)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user