mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: use cerror instead of panic.
This commit is contained in:
committed by
Alexander Medvednikov
parent
32683ad6fd
commit
83954acfd4
@@ -23,7 +23,7 @@ fn sql_params2params_gen(sql_params []string, sql_types []string, qprefix string
|
||||
}else if paramtype == 'string' {
|
||||
params_gen += '${qprefix}params[$i] = ${param}.str;\n'
|
||||
}else{
|
||||
panic('orm: only int and string variable types are supported in queries')
|
||||
cerror('orm: only int and string variable types are supported in queries')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user