mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: bring back panic(err.msg)
-> panic(err)
(#9022)
This commit is contained in:
parent
ce115dcbe0
commit
b712af56fd
110 changed files with 383 additions and 387 deletions
|
@ -28,7 +28,7 @@ fn start_server() ? {
|
|||
for i, _ in m.clients {
|
||||
mut c := m.clients[i]
|
||||
if c.client.state == .open && c.client.id != ws.id {
|
||||
c.client.write(msg.payload, websocket.OPCode.text_frame) or { panic(err.msg) }
|
||||
c.client.write(msg.payload, websocket.OPCode.text_frame) or { panic(err) }
|
||||
}
|
||||
}
|
||||
}, s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue