Skip to content

Commit

Permalink
debug nil ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
takeyourhatoff committed Oct 2, 2024
1 parent 89d9b91 commit cd43170
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion datamodel/high/base/schema_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ func (sp *SchemaProxy) BuildTempSchema() (*Schema, error) {
if sp == nil {
return nil, nil
}
s := sp.schema.Value.TempSchema()
schema := sp.schema
value := schema.Value
s := value.TempSchema()
if s == nil {
return nil, sp.schema.Value.GetBuildError()
}
Expand Down

0 comments on commit cd43170

Please sign in to comment.