This is an automated email from the ASF dual-hosted git repository.

mappjzc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new e1ffaf5ee fix: wrong error message for make-plan-err (#4019)
e1ffaf5ee is described below

commit e1ffaf5ee0785d4f144ad4e4f7a501c26a797301
Author: Klesh Wong <[email protected]>
AuthorDate: Fri Dec 23 15:55:01 2022 +0800

    fix: wrong error message for make-plan-err (#4019)
---
 services/blueprint.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/blueprint.go b/services/blueprint.go
index 5b287d268..8c98556b2 100644
--- a/services/blueprint.go
+++ b/services/blueprint.go
@@ -169,7 +169,7 @@ func validateBlueprintAndMakePlan(blueprint 
*models.Blueprint) errors.Error {
        } else if blueprint.Mode == models.BLUEPRINT_MODE_NORMAL {
                plan, err := MakePlanForBlueprint(blueprint)
                if err != nil {
-                       return errors.Default.Wrap(err, "invalid plan")
+                       return errors.Default.Wrap(err, "make plan for 
blueprint failed")
                }
                blueprint.Plan, err = errors.Convert01(json.Marshal(plan))
                if err != nil {

Reply via email to