diff --git a/wpilibNewCommands/src/main/native/cpp/frc2/command/ProxyCommand.cpp b/wpilibNewCommands/src/main/native/cpp/frc2/command/ProxyCommand.cpp index 49bff658ced..ec3e247819d 100644 --- a/wpilibNewCommands/src/main/native/cpp/frc2/command/ProxyCommand.cpp +++ b/wpilibNewCommands/src/main/native/cpp/frc2/command/ProxyCommand.cpp @@ -17,7 +17,9 @@ ProxyCommand::ProxyCommand(Command* command) } ProxyCommand::ProxyCommand(std::unique_ptr command) - : m_supplier([command = std::move(command)] { return command.get(); }) {} + : m_supplier(( + SetName(std::string{"Proxy("}.append(command->GetName()).append(")")), + [command = std::move(command)] { return command.get(); })) {} void ProxyCommand::Initialize() { m_command = m_supplier();