convert pending result to string
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user