)]}'
{"tempest/cmd/verify_tempest_config.py":[{"author":{"_account_id":7350,"name":"Jordan Pittier","email":"jordan.pittier@gmail.com","username":"JordanP"},"change_message_id":"c97ec4faf2898033bf7777fc3c856f8c70df689c","unresolved":false,"context_lines":[{"line_number":100,"context_line":"    try:"},{"line_number":101,"context_line":"        body \u003d json.loads(body)"},{"line_number":102,"context_line":"    except ValueError:"},{"line_number":103,"context_line":"        msg \u003d (\u0027Failed to get a JSON response from unversioned endpoint %s \u0027"},{"line_number":104,"context_line":"               \u0027(versioned endpoint was %s). Response is:\\n%s\u0027)"},{"line_number":105,"context_line":"        raise Exception("},{"line_number":106,"context_line":"            msg % (endpoint, client_dict[service].base_url, body[:100]))"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa0719c6_e6ec00bd","line":103,"updated":"2016-03-24 11:06:57.000000000","message":"You should use LOG.error(\u0027whatever here, tons of information\u0027) and then just \"raise\". Raising a generic Exception is not a good practice. And you loose the stacktrace.","commit_id":"7968c7cf077f1ec98d3632d19032e066ee14c6a9"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"7e51a3d2669194bc88a863234bcba704599a2362","unresolved":false,"context_lines":[{"line_number":100,"context_line":"    try:"},{"line_number":101,"context_line":"        body \u003d json.loads(body)"},{"line_number":102,"context_line":"    except ValueError:"},{"line_number":103,"context_line":"        msg \u003d (\u0027Failed to get a JSON response from unversioned endpoint %s \u0027"},{"line_number":104,"context_line":"               \u0027(versioned endpoint was %s). Response is:\\n%s\u0027)"},{"line_number":105,"context_line":"        raise Exception("},{"line_number":106,"context_line":"            msg % (endpoint, client_dict[service].base_url, body[:100]))"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa0719c6_6cb286e6","line":103,"in_reply_to":"fa0719c6_e6ec00bd","updated":"2016-03-24 14:20:25.000000000","message":"Done","commit_id":"7968c7cf077f1ec98d3632d19032e066ee14c6a9"}]}
