mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01)
This commit is contained in:
@@ -393,7 +393,8 @@ pub struct RunParams {
|
||||
[manualfree]
|
||||
pub fn run_at<T>(global_app &T, params RunParams) ? {
|
||||
mut l := net.listen_tcp(params.family, '$params.host:$params.port') or {
|
||||
return error('failed to listen $err.code $err')
|
||||
ecode := err.code()
|
||||
return error('failed to listen $ecode $err')
|
||||
}
|
||||
|
||||
// Parsing methods attributes
|
||||
|
||||
Reference in New Issue
Block a user