Skip to content

Commit

Permalink
set access error if no other errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jun 28, 2023
1 parent 47cc4a9 commit 3b7b90d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dev/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ export function createDevServer(nitro: Nitro): NitroDevServer {
if (address.socketPath) {
try {
accessSync(address.socketPath);
} catch {
} catch (err) {
if (!lastError) {
lastError = err;
}
return;
}
}
Expand Down

0 comments on commit 3b7b90d

Please sign in to comment.