mpppk / hlb

CLI that provides unified & interactive interface to multiple git repository hosting services.
MIT License
38 stars 1 forks source link

Error occured when execute `hlb pull-request` #21

Open mpppk opened 7 years ago

mpppk commented 7 years ago
github body:
panic: Error occurred in github.CreatePullRequest: POST https://api.github.com/repos/mpppk/hlb/pulls: 422 Validation Failed [{Resource:Issue Field:title Code:missing_field Message:}]

goroutine 1 [running]:
github.com/mpppk/hlb/etc.PanicIfErrorExist(0xe054a0, 0xc0422fd800)
        C:/Users/Yuki/go/src/github.com/mpppk/hlb/etc/utils.go:5 +0x51
github.com/mpppk/hlb/cmd.glob..func12(0xe43f40, 0xe68628, 0x0, 0x0)
        C:/Users/Yuki/go/src/github.com/mpppk/hlb/cmd/create_pullrequest.go:157 +0x27a
github.com/mpppk/hlb/cmd.glob..func19(0xe44c00, 0xe68628, 0x0, 0x0)
        C:/Users/Yuki/go/src/github.com/mpppk/hlb/cmd/pull-request.go:15 +0x10c
github.com/spf13/cobra.(*Command).execute(0xe44c00, 0xe68628, 0x0, 0x0, 0xe44c00, 0xe68628)
        C:/Users/Yuki/go/src/github.com/spf13/cobra/command.go:651 +0x241
github.com/spf13/cobra.(*Command).ExecuteC(0xe44e20, 0xc042010118, 0x0, 0x1)
        C:/Users/Yuki/go/src/github.com/spf13/cobra/command.go:726 +0x340
github.com/spf13/cobra.(*Command).Execute(0xe44e20, 0xe44e20, 0xc042099f50)
        C:/Users/Yuki/go/src/github.com/spf13/cobra/command.go:685 +0x32
github.com/mpppk/hlb/cmd.Execute()
        C:/Users/Yuki/go/src/github.com/mpppk/hlb/cmd/root.go:59 +0x38
main.main()
        C:/Users/Yuki/go/src/github.com/mpppk/hlb/main.go:6 +0x27