mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 09:39:25 +02:00
pas2jsdsgn: stop on server error
This commit is contained in:
parent
19d03a5ea8
commit
511afcb021
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user