)]}'
{"ironic/conductor/base_manager.py":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"22e15c36cbab168cb5df09c7153ba582a468471b","unresolved":false,"context_lines":[{"line_number":156,"context_line":"                exception.ConductorHardwareInterfacesAlreadyRegistered,"},{"line_number":157,"context_line":"                exception.InterfaceNotFoundInEntrypoint) as e:"},{"line_number":158,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":159,"context_line":"                LOG.error(_LE(\u0027Failed to register hardware types. %s\u0027), e)"},{"line_number":160,"context_line":"                self.del_host()"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"        # TODO(jroll) validate here that at least one driver OR"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a461143_80430dae","line":159,"range":{"start_line":159,"start_character":65,"end_line":159,"end_character":66},"updated":"2017-02-01 11:25:37.000000000","message":"nit: \n\n\"... types. Error: %s\"\n\nJust to be consistent with other error messages","commit_id":"94bd464ce88fdbd43aa46d61ad625aa06e1b5278"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ba1cab6ab6a8411c92be1515045cb96218a64ed0","unresolved":false,"context_lines":[{"line_number":156,"context_line":"                exception.ConductorHardwareInterfacesAlreadyRegistered,"},{"line_number":157,"context_line":"                exception.InterfaceNotFoundInEntrypoint) as e:"},{"line_number":158,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":159,"context_line":"                LOG.error(_LE(\u0027Failed to register hardware types. %s\u0027), e)"},{"line_number":160,"context_line":"                self.del_host()"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"        # TODO(jroll) validate here that at least one driver OR"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a461143_01ce38b4","line":159,"range":{"start_line":159,"start_character":65,"end_line":159,"end_character":66},"in_reply_to":"3a461143_80430dae","updated":"2017-02-01 15:22:53.000000000","message":"Funny. I was going to do that, or \u0027Reason: \u0027. However, when I looked at the actual string generated, it looked better w/o. The error string itself is already a sentence, or at least it started with a Capitalized first word (I can\u0027t recall if it ended with a period, but I suspect it did.) So w/o Error:, it looks like \u0027.. types. The type \u0027foo\u0027 could not be found.\u0027 With Error, it looked like \u0027.. types. Error: The type \u0027foo\u0027 could not be found.\u0027 \u0027 (I just made that up.)\n\nWe could probably use some guidelines on how our error strings should be formatted but ... Eg. the original log string did not end with a period. I never know whether they should be full sentences or not. At this point, I\u0027m happy if the string is understandable and has useful info in it :)","commit_id":"94bd464ce88fdbd43aa46d61ad625aa06e1b5278"}]}
