diff options
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() |