Skip to content

Aggregation failures #1

@ksuarz

Description

@ksuarz

If you perform an invalid aggregation, you get a RuntimeError because the counting stage of the aggregation pipeline will fail. This also happens if you're not connected to a proper mongod.

We probably can't do anything about this for now, but if anyone ever gets to integrate with the Python standard logging module we might be able to emit a better message.

This might happen with the query as well, but I'm not sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions