瀏覽代碼

add debug line

Alexander Belanger 4 年之前
父節點
當前提交
dd29652f1e
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      cli/cmd/apply.go

+ 2 - 0
cli/cmd/apply.go

@@ -818,6 +818,8 @@ func (t *DeploymentHook) PostApply(populatedData map[string]interface{}) error {
 }
 }
 
 
 func (t *DeploymentHook) OnError(err error) {
 func (t *DeploymentHook) OnError(err error) {
+	fmt.Println("running error hook for deployment")
+
 	// if the deployment exists, throw an error for that deployment
 	// if the deployment exists, throw an error for that deployment
 	_, getDeplErr := t.client.GetDeployment(
 	_, getDeplErr := t.client.GetDeployment(
 		context.Background(),
 		context.Background(),