Elrond cc9f9a1dd3 Another .one -> .find_one
Same idea as in the previous commit.
Joar caught this one.

To reproduce
1. Create a user with an all-decimal ObjectId in mongo
2. Login using that user, while mongodb is enabled.
3. Switch instance to sql.
4. Restart.
5. Refresh any page.

This will error, because no user with that object id exists
any more.

While around, improved logging.
2012-03-13 00:19:53 +01:00
..
2012-01-25 23:44:59 +01:00
2012-02-02 09:44:13 -06:00
2012-02-28 20:52:35 +01:00
2012-02-02 09:44:13 -06:00
2012-02-02 09:44:13 -06:00
2012-02-02 09:44:13 -06:00
2012-03-13 00:19:53 +01:00
2012-02-02 09:44:13 -06:00
2012-02-02 09:44:13 -06:00
2012-02-02 09:44:13 -06:00
2012-02-02 09:44:13 -06:00
2012-02-02 09:44:13 -06:00