|
@@ -791,8 +791,9 @@ func (t *Mongo) FindMany(f *Filter) (cursor *mongo.Cursor, err *errs.Error) {
|
|
|
}
|
|
|
|
|
|
func createDebugEvent(options *Filter, eventType string) *DebugEvent {
|
|
|
- debug := options.Context.Values().Get("#debug")
|
|
|
- event := debug.Event(eventType)
|
|
|
+ // debug := options.Context.Values().Get("#debug")
|
|
|
+ debug := options.Context.Values().Get("#debug").(*DebugTaks)
|
|
|
+ event := debug.Event(eventType, "")
|
|
|
event.Data = iris.Map{}
|
|
|
return event
|
|
|
}
|