diff options
author | Wolfy-J <[email protected]> | 2018-06-03 18:02:24 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-03 18:02:24 +0300 |
commit | 7877e54547d1f8ca3b3431c6e9aa3cbd80af1403 (patch) | |
tree | 0485b09f58c60faf8f6ec856440c040cf660854f /cmd/rr/http/workers.go | |
parent | 3c3ce22b7f1620bbcb0f787b26f1b1db4487470b (diff) |
polishing
Diffstat (limited to 'cmd/rr/http/workers.go')
-rw-r--r-- | cmd/rr/http/workers.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/rr/http/workers.go b/cmd/rr/http/workers.go index 19fc6df8..13e8d21c 100644 --- a/cmd/rr/http/workers.go +++ b/cmd/rr/http/workers.go @@ -27,12 +27,14 @@ import ( "github.com/spiral/roadrunner/http" "os" "strconv" + "github.com/sirupsen/logrus" ) func workersHandler(cmd *cobra.Command, args []string) { client, err := rr.Services.RCPClient() if err != nil { - panic(err) // todo: change + logrus.Error(err) + return } defer client.Close() |