Skip to content

Commit

Permalink
Merge pull request #4725 from boillodmanuel/patch-1
Browse files Browse the repository at this point in the history
fix for #4724 - Error was not propagated in logs in
  • Loading branch information
tombuildsstuff authored Oct 25, 2019
2 parents a7b106c + a1e59c2 commit b634f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azurerm/resource_arm_management_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func resourceArmManagementGroupCreateUpdate(d *schema.ResourceData, meta interfa
log.Printf("[DEBUG] Assigning Subscription ID %q to management group %q", subscriptionId, groupId)
_, err = subscriptionsClient.Create(ctx, groupId, subscriptionId, managementGroupCacheControl)
if err != nil {
return fmt.Errorf("[DEBUG] Error assigning Subscription ID %q to Management Group %q", subscriptionId, groupId)
return fmt.Errorf("[DEBUG] Error assigning Subscription ID %q to Management Group %q: %+v", subscriptionId, groupId, err)
}
}

Expand Down

0 comments on commit b634f2e

Please sign in to comment.