We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ee05ca commit c6a8467Copy full SHA for c6a8467
cmd/opampsupervisor/main.go
@@ -37,14 +37,12 @@ func runInteractive() error {
37
38
supervisor, err := supervisor.NewSupervisor(logger, cfg)
39
if err != nil {
40
- logger.Error(err.Error())
41
- return err
+ return fmt.Errorf("failed to create supervisor: %w", err)
42
}
43
44
err = supervisor.Start()
45
46
47
+ return fmt.Errorf("failed to start supervisor: %w", err)
48
49
50
interrupt := make(chan os.Signal, 1)
0 commit comments