Error returning
This commit is contained in:
@@ -23,7 +23,7 @@ func sendCommand(command string, channel, value, r, g, b int) error {
|
||||
defer n.Close()
|
||||
|
||||
if err != nil {
|
||||
panic(err)
|
||||
return err
|
||||
}
|
||||
|
||||
if command == "set" {
|
||||
|
||||
Reference in New Issue
Block a user