Hide Auth details in log

This commit is contained in:
Douglas Barone 2021-11-03 10:01:35 -04:00
parent b46b4c56d1
commit c325312988

View File

@ -51,7 +51,7 @@ async function getDevices() {
logError({
tags: ['cisco', 'wifiDevices'],
message: e.message,
data: { ...e, config: { ...e.config, auth: null } }
data: { ...e, config: { ...e.config, auth: '*****' } }
})
return []
}