Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Acode-Foundation/Acode
/ onError
Function
onError
src/lib/run.js:167–174 ·
view source on GitHub ↗
(err)
Source
from the content-addressed store, hash-verified
165
webServer.setOnRequestHandler(handleRequest);
166
167
function
onError(err) {
168
if
(err ===
"Server already running"
) {
169
openBrowser();
170
}
else
{
171
++port;
172
start();
173
}
174
}
175
}
176
177
/**
Callers
1
spawnStream
Method · 0.50
Calls
2
openBrowser
Function · 0.85
start
Function · 0.70
Tested by
no test coverage detected