This commit is contained in:
Zoltán Papp
2025-11-14 13:22:08 +01:00
parent 1d2a5371ce
commit aa39a5d528
2 changed files with 3 additions and 0 deletions

View File

@@ -1041,6 +1041,7 @@ func (e *Engine) receiveJobEvents() {
}
func (e *Engine) handleBundle(params *mgmProto.BundleParameters) (*mgmProto.JobResponse_Bundle, error) {
log.Infof("handle remote debug bundle request: %s", params.String())
syncResponse, err := e.GetLatestSyncResponse()
if err != nil {
return nil, fmt.Errorf("get latest sync response: %w", err)

View File

@@ -18,6 +18,7 @@ func NewExecutor() *Executor {
}
func (e *Executor) BundleJob(ctx context.Context, debugBundleDependencies debug.GeneratorDependencies, params debug.BundleConfig, mgmURL string) (string, error) {
log.Infof("execute debug bundle generation")
bundleGenerator := debug.NewBundleGenerator(debugBundleDependencies, params)
path, err := bundleGenerator.Generate()
@@ -31,5 +32,6 @@ func (e *Executor) BundleJob(ctx context.Context, debugBundleDependencies debug.
return "", fmt.Errorf("upload debug bundle: %w", err)
}
log.Infof("debug bundle has been generated well")
return key, nil
}