Skip to content

Commit 461530f

Browse files
author
Daisuke Morita
authored
Merge pull request #678 from cloudwan/schema_id_not_found
Print schema name in the error log
2 parents 41d0cba + 4234eac commit 461530f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ func (schema *Schema) GetPropertyByID(id string) (*Property, error) {
436436
return &p, nil
437437
}
438438
}
439-
return nil, fmt.Errorf("Property with ID %s not found", id)
439+
return nil, fmt.Errorf("Property with ID %s not found in schema %s", id, schema.ID)
440440
}
441441

442442
//StateVersioning whether resources created from this schema should track state and config versions

0 commit comments

Comments
 (0)