fix(lotus-sim): specify ErrWriter

Apparently, it defaults to nil...
This commit is contained in:
Steven Allen 2021-06-09 21:56:47 -07:00
parent 977bf1cad9
commit c18ca60d28

View File

@ -29,9 +29,11 @@ func main() {
_ = logging.SetLogLevel("simulation", "DEBUG")
}
app := &cli.App{
Name: "lotus-sim",
Usage: "A tool to simulate a network.",
Commands: root,
Name: "lotus-sim",
Usage: "A tool to simulate a network.",
Commands: root,
Writer: os.Stdout,
ErrWriter: os.Stderr,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "repo",