Fix CI
This commit is contained in:
parent
5de2f61231
commit
c7f5770968
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ export class IoSocketController {
|
|||
req.getHeader('sec-websocket-extensions'),
|
||||
context);
|
||||
|
||||
} catch (e: unknown) {
|
||||
} catch (e) {
|
||||
if (e instanceof Error) {
|
||||
console.warn(e.message);
|
||||
res.writeStatus("401 Unauthorized").end(e.message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue