diff --git a/log/log.go b/log/log.go index 8ac1494933bfc36d2beef878a7b771ee7983a178..05aff704243a60e52c70a7ee57cdb50f9c5884e7 100644 --- a/log/log.go +++ b/log/log.go @@ -84,10 +84,10 @@ func EntryFromPB(request *pb.LogEntry) *Entry { } if request.ObjectId != "" { - logEntry.ObjectID = id.MustObjectId(request.ObjectId) + logEntry.ObjectID, _ = id.NewObjectId(request.ObjectId) } if request.CallerId != "" { - logEntry.CallerID = id.MustObjectId(request.CallerId) + logEntry.CallerID, _ = id.NewObjectId(request.CallerId) } if request.Attr != nil { logEntry.Attr = request.Attr // todo: как с этим работать?