mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: bring back panic(err.msg)
-> panic(err)
(#9022)
This commit is contained in:
@@ -146,7 +146,7 @@ pub fn (mut ws Client) listen() ? {
|
||||
ws.logger.error('error in message callback sending PONG: $err')
|
||||
ws.send_error_event('error in message callback sending PONG: $err')
|
||||
if ws.panic_on_callback {
|
||||
panic(err.msg)
|
||||
panic(err)
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
Reference in New Issue
Block a user