Skip to content

Commit bffad99

Browse files
committed
convert pending result to string
1 parent c7d73dc commit bffad99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/http_server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ void HttpServer::DoHandleRun(const httplib::Request &req,
412412
break;
413413
default:
414414
SetResponseErrorResult(
415-
res, StringUtil::Format("Unexpected PendingExecutionResult: %d",
415+
res, StringUtil::Format("Unexpected PendingExecutionResult: %s",
416416
exec_result));
417417
return;
418418
}
@@ -490,7 +490,7 @@ void HttpServer::DoHandleRun(const httplib::Request &req,
490490
}
491491
default:
492492
SetResponseErrorResult(
493-
res, StringUtil::Format("Unexpected PendingExecutionResult: %d",
493+
res, StringUtil::Format("Unexpected PendingExecutionResult: %s",
494494
exec_result));
495495
break;
496496
}

0 commit comments

Comments
 (0)