gunicorn: debug mode to pass stacktraces to browser
generic rethinkdb state