convert pending result to string

This commit is contained in:
Jeff Raymakers
2025-06-03 09:07:53 -07:00
parent c7d73dcb8d
commit bffad99acc

View File

@@ -412,7 +412,7 @@ void HttpServer::DoHandleRun(const httplib::Request &req,
break; break;
default: default:
SetResponseErrorResult( SetResponseErrorResult(
res, StringUtil::Format("Unexpected PendingExecutionResult: %d", res, StringUtil::Format("Unexpected PendingExecutionResult: %s",
exec_result)); exec_result));
return; return;
} }
@@ -490,7 +490,7 @@ void HttpServer::DoHandleRun(const httplib::Request &req,
} }
default: default:
SetResponseErrorResult( SetResponseErrorResult(
res, StringUtil::Format("Unexpected PendingExecutionResult: %d", res, StringUtil::Format("Unexpected PendingExecutionResult: %s",
exec_result)); exec_result));
break; break;
} }