)]}'
{"nova/api/openstack/common.py":[{"author":{"_account_id":8864,"name":"Artom Lifshitz","email":"notartom@gmail.com","username":"artom"},"change_message_id":"1513b8ccd202b7b3336f350de4a6431458185cd6","unresolved":false,"context_lines":[{"line_number":498,"context_line":"    raise webob.exc.HTTPNotImplemented(explanation\u003dmsg)"},{"line_number":499,"context_line":""},{"line_number":500,"context_line":""},{"line_number":501,"context_line":"def raise_service_unavailable(msg\u003dNone):"},{"line_number":502,"context_line":"    if msg is None:"},{"line_number":503,"context_line":"        msg \u003d _(\"The server is currently unable to handle the request.\")"},{"line_number":504,"context_line":"    raise webob.exc.HTTPServiceUnavailable(explanation\u003dmsg)"}],"source_content_type":"text/x-python","patch_set":5,"id":"1fa4df85_de0dc535","line":501,"updated":"2020-03-17 20:34:40.000000000","message":"Assuming we want to go ahead with the general logic in this patch (ie, raise 503 in case of a MessagingTimeout), this is now how we\u0027d do it. We\u0027d have an exception in nova/exception.py with a `code \u003d 503`, and just raise that. You can look at other exceptions with an HTTP error code for inspiration on how to work with those.","commit_id":"183aa5b9f4dbc0a5b7003fc56bb0f406af5269d2"}]}
