Skip to content

Commit 756ec12

Browse files
jsjoeiocode-asher
andauthored
Update src/node/app.ts
Co-authored-by: Asher <ash@coder.com>
1 parent 1329a76 commit 756ec12

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/node/app.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ export const listen = async (server: http.Server, { host, port, socket, "socket-
4949
// NOTE@jsjoeio: we need to chmod after the server is finished
5050
// listening. Otherwise, the socket may not have been created yet.
5151
if (socket && mode) {
52-
await fs.chmod(socket, mode).catch((err) => {
53-
util.logError(logger, "socket chmod", err)
54-
})
52+
await fs.chmod(socket, mode)
5553
}
5654
}
5755

0 commit comments

Comments
 (0)