Improve the presentation of the measurement listing from the CLI
This commit is contained in:
parent
251f136b53
commit
4ed94dfc53
8 changed files with 177 additions and 25 deletions
|
|
@ -3,6 +3,7 @@ package main
|
|||
import (
|
||||
// commands
|
||||
|
||||
"github.com/apex/log"
|
||||
_ "github.com/ooni/probe-cli/internal/cli/geoip"
|
||||
_ "github.com/ooni/probe-cli/internal/cli/info"
|
||||
_ "github.com/ooni/probe-cli/internal/cli/list"
|
||||
|
|
@ -19,5 +20,9 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
crashreport.CapturePanicAndWait(app.Run, nil)
|
||||
err, _ := crashreport.CapturePanic(app.Run, nil)
|
||||
if err != nil {
|
||||
log.WithError(err.(error)).Error("panic in app.Run")
|
||||
crashreport.Wait()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue