diff --git a/pyscada/systemstat/device.py b/pyscada/systemstat/device.py index 4f218d0..ff4759c 100644 --- a/pyscada/systemstat/device.py +++ b/pyscada/systemstat/device.py @@ -606,7 +606,7 @@ def exec_python_cmd(self, cmd, ssh_cmd=None, ssh_prefix=""): err = e.read().decode() err = err[:-1] if err.endswith('\n')else err if err != '': - logger.error(f'Error {err} while running on {self._device} command {cmd}') + logger.warning(f'Error {err} while running on {self._device} command {cmd}') value = o.read().decode() value = value[:-1] if value.endswith('\n') else value value = None if value == '' else value