Skip to content

Commit 7d01ed8

Browse files
committed
Fix timeout error message
PR-URL: #104
1 parent 949e031 commit 7d01ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const apiws = (application, connection, req) => async message => {
147147
try {
148148
await semaphore.enter();
149149
} catch {
150-
this.error(504);
150+
send({ result: 'error', reason: 'timeout' });
151151
return;
152152
}
153153
try {

0 commit comments

Comments
 (0)