diff --git a/controller/northbound/server/topology.go b/controller/northbound/server/topology.go index 27e7dd3618fcafb2c28e585e48f81dc86b1c2b95..bf621b49ff14d3c5c125e2e314df51208830915a 100644 --- a/controller/northbound/server/topology.go +++ b/controller/northbound/server/topology.go @@ -3,6 +3,7 @@ package server import ( "context" "errors" + "fmt" "time" topopb "code.fbi.h-da.de/danet/gosdn/api/go/gosdn/topology" @@ -51,6 +52,8 @@ func (t TopologyServer) checkForValidationErrors(request protoreflect.ProtoMessa if ok := errors.As(err, &valErr); ok { protoErr := valErr.ToProto() grpcError, _ := status.New(codes.Aborted, "Validation failed").WithDetails(protoErr) + fmt.Printf("valErr: %v\n", valErr) + fmt.Printf("err: %v\n", err) return grpcError.Err() }