DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
catch error in mongo query python
try: connection.test.foo.find_one() except pymongo.errors.OperationFailure: print "caught"
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#catch
#error
#mongo
#query
#python
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit