stephb9959
2022-11-04 11:42:31 -07:00
parent 76feb208bc
commit b83345c91a
10 changed files with 103 additions and 20 deletions

View File

@@ -129,7 +129,7 @@ namespace OpenWifi::RESTAPI_RPC {
Cmd.Completed = Utils::Now();
Cmd.executionTime = rpc_execution_time.count();
if (Cmd.ErrorCode && Cmd.Command == uCentralProtocol::TRACE) {
if (Cmd.ErrorCode && (Cmd.Command == uCentralProtocol::TRACE || Cmd.Command == uCentralProtocol::SCRIPT)) {
Cmd.WaitingForFile = 0;
Cmd.AttachDate = Cmd.AttachSize = 0;
Cmd.AttachType = "";