8000 feat(worker): add log on err plugin (#3538) · ovh/cds@49bac8b · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 49bac8b

Browse files
yesnaultbnjjj
authored andcommitted
feat(worker): add log on err plugin (#3538)
Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
1 parent 347a2e8 commit 49bac8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/worker/builtin.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ func (w *currentWorker) runGRPCPlugin(ctx context.Context, a *sdk.Action, buildI
154154

155155
result, err := actionPluginClient.Run(ctx, &query)
156156
if err != nil {
157+
log.Error("plugin failure %s v%s err: %v", manifest.Name, manifest.Version, err)
157158
pluginFail(chanRes, sendLog, fmt.Sprintf("Error running action: %v", err))
158159
return
159160
}

0 commit comments

Comments
 (0)
0