Skip to content

Commit

Permalink
Error details
Browse files Browse the repository at this point in the history
  • Loading branch information
uzaxirr committed Jun 27, 2024
1 parent e76546f commit 9279853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion civo/network/resource_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func resourceNetworkCreate(ctx context.Context, d *schema.ResourceData, m interf
log.Printf("[INFO] Creating default firewall for the network %s", d.Get("label").(string))
err = createDefaultFirewall(apiClient, network.ID, network.Label)
if err != nil {
return diag.Errorf("failed firewall")
return diag.Errorf("[ERR] failed to create a new firewall for the network %s: %s", d.Get("label").(string), err)
}
return resourceNetworkRead(ctx, d, m)
}
Expand Down

0 comments on commit 9279853

Please sign in to comment.