Skip to content

decrease error verbosity#27

Merged
ktock merged 1 commit intoktock:mainfrom
fahedouch:less-verbosity
May 23, 2022
Merged

decrease error verbosity#27
ktock merged 1 commit intoktock:mainfrom
fahedouch:less-verbosity

Conversation

@fahedouch
Copy link
Copy Markdown
Contributor

@fahedouch fahedouch commented May 22, 2022

Thanks for this tool @ktock , It looks amazing.

Why this PR ?
avoid printing the error stacktrace

root@734a148bfed0:/home/buildg/out# ./buildg debug 
context needs to be specified
main.parseSolveOpt
        /home/buildg/main.go:394
main.debugAction
        /home/buildg/main.go:240
github.com/urfave/cli.HandleAction
        /go/pkg/mod/github.com/urfave/[email protected]/app.go:524
github.com/urfave/cli.Command.Run
        /go/pkg/mod/github.com/urfave/[email protected]/command.go:173
github.com/urfave/cli.(*App).Run
        /go/pkg/mod/github.com/urfave/[email protected]/app.go:277
main.main
        /home/buildg/main.go:70
runtime.main
        /usr/local/go/src/runtime/proc.go:255
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1581

Signed-off-by: Fahed DORGAA [email protected]

Signed-off-by: fahed dorgaa <[email protected]>
Copy link
Copy Markdown
Owner

@ktock ktock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ktock ktock merged commit b05f3fa into ktock:main May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants