Skip to content

Commit

Permalink
chore: wraps error instead of constructing new one
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszmajsak committed Sep 14, 2023
1 parent 3069c74 commit da574c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/dashboard/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func (d *Dashboard) ReconcileComponent(cli client.Client, owner metav1.Object, d
"<section-title>": "OpenShift Managed Services",
})
if err != nil {
return fmt.Errorf("Error replacing with correct dashboard url for ConsoleLink: %v", err)
return errors.Wrap(err, "failed replacing with correct dashboard url for ConsoleLink: %v")
}
err = deploy.DeployManifestsFromPath(owner, cli, ComponentNameSupported,
PathConsoleLink,
Expand Down

0 comments on commit da574c4

Please sign in to comment.