diff --git a/backend/internal/pkg/repositories/mongo/insert.go b/backend/internal/pkg/repositories/mongo/insert.go index dfc3d77..fb0c331 100644 --- a/backend/internal/pkg/repositories/mongo/insert.go +++ b/backend/internal/pkg/repositories/mongo/insert.go @@ -11,7 +11,7 @@ func (r *Repository) Insert(ctx context.Context, dataStr string) error { data := bson.M{} err := bson.UnmarshalExtJSON([]byte(dataStr), true, &data) if err != nil { - return fmt.Errorf("unable to parse data to mongo insert. Err: %w", err) + return fmt.Errorf("[mongo] unable to parse data to mongo insert. Err: %w", err) } db := r.client.Database(r.databaseName)