Skip to content

Fail if invalid pprof listen address is specified

Stan Hu requested to merge sh-fail-with-no-pprof into master

When an invalid pprof listen address is specified, Workhorse would log an error but not actually terminate. The invalid argument changed the parsing of flags, which left -listenAddr to start up with the default localhost:8181.

Fixes #310 (closed)

Edited by Stan Hu

Merge request reports