Skip to content

Handling of Mongo being down #17

@cfjedimaster

Description

@cfjedimaster

If you run code and Mongo itself is down, the error isn't incredibly clear:

The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.
Null Pointers are another name for undefined values.

The error occurred in C:\Users\Raymond\Dropbox\websites\testingzone\deepcomment\cfmongodb\core\DBCollection.cfc: line 365
363 : }
364 : var dbo = toMongo(doc);
365 : var writeResult = collection.remove( dbo );
366 : return writeResult;
367 : }

It seems like Mongo could handle this a bit better?

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