Return standard handle_exception error instead of rendering json.