mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-08-22 06:18:58 +00:00
cleanup error messages
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ func init() {
|
||||
hostString, ok := host.(string)
|
||||
|
||||
if !ok {
|
||||
return nil, fmt.Errorf("net.udp.client host must be uint16")
|
||||
return nil, fmt.Errorf("net.udp.client host must be a string")
|
||||
}
|
||||
|
||||
port, ok := params["port"]
|
||||
|
||||
Reference in New Issue
Block a user