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()
|
defer n.Close()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if command == "set" {
|
if command == "set" {
|
||||||
|
|||||||
Reference in New Issue
Block a user