[client] Set up signal to generate debug bundles (#3683)

This commit is contained in:
Viktor Liu
2025-04-16 11:06:22 +02:00
committed by GitHub
parent 7cb366bc7d
commit a675531b5c
14 changed files with 1316 additions and 1009 deletions

View File

@@ -115,6 +115,7 @@ var runCmd = &cobra.Command{
ctx, cancel := context.WithCancel(cmd.Context())
SetupCloseHandler(ctx, cancel)
SetupDebugHandler(ctx, nil, nil, nil, logFile)
s, err := newSVC(newProgram(ctx, cancel), newSVCConfig())
if err != nil {