Browse Source

111

hotfix/redundant-cleanup
root 4 months ago
parent
commit
3357622319
  1. 4
      app/core/device/command_executor.py

4
app/core/device/command_executor.py

@ -239,9 +239,9 @@ class CommandExecutor:
) )
except Exception as e: except Exception as e:
logger.error(f"命令执行失败: {e}") logger.error(f"命令执行失败: {device_id} -> {command}, 错误={e}")
return ShellCommandResult( return ShellCommandResult(
command=cmd_task.command, command=command,
success=False, success=False,
output="", output="",
error=str(e), error=str(e),

Loading…
Cancel
Save