Error returning

This commit is contained in:
2016-07-23 16:38:39 +05:00
parent fe380f7c01
commit d836c3a108

View File

@@ -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" {