pas2jsdsgn: stop on server error

This commit is contained in:
mattias 2022-04-11 11:00:09 +02:00
parent 19d03a5ea8
commit 511afcb021

View File

@ -324,6 +324,8 @@ begin
aServer:=SimpleWebServerController.AddProjectServer(aProject,ServerPort,WebDir,true);
if aServer=nil then
exit(mrCancel);
if aServer.ErrorDesc<>'' then
exit(mrCancel);
// start browser
HTMLFilename:=GetHTMLFilename(aProject,true);