Skip to content

Commit

Permalink
panicを排除
Browse files Browse the repository at this point in the history
  • Loading branch information
kasaikou committed Sep 19, 2021
1 parent 18869ec commit f424259
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions task/impl/cui/task.go
Expand Up @@ -60,9 +60,7 @@ func (cui *__task) ExecuteMain(args based.MainFuncArguments) error {

// args.ListenStart(callback)

listen.Listen(cui, task_element.StdIn, stdin, func(e error) {
panic(e.Error())
}, nil)
listen.Listen(cui, task_element.StdIn, stdin, nil, nil)

// start running element
go func() {
Expand Down

0 comments on commit f424259

Please sign in to comment.