)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"b171bb019395bc72de197c5ac4b2a24d1a585b3a","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Koert van der Veer \u003ckoert@cloudvps.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-05-28 11:20:30 +0200"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Make sure exceptions are logged in l3_agent"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I565e2130494a40c9bcc6e8ccd89cd1b8bb5b5939"},{"line_number":10,"context_line":"Closes-bug: #1324031"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3ae8d1ca_2c00b100","line":7,"updated":"2014-05-28 21:32:22.000000000","message":"Ideally I would want to know what errors you\u0027re trying to catch. Could you elaborate on the bug report with stacktraces or more information?","commit_id":"bf81899203c070a7acadb3b09204e575afc54b55"}],"neutron/agent/l3_agent.py":[{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"adca2bb098c3516efcc7a64d6200d595c45cd6ae","unresolved":false,"context_lines":[{"line_number":414,"context_line":"        ip_devs \u003d ip_wrapper.get_devices(exclude_loopback\u003dTrue)"},{"line_number":415,"context_line":"        return [ip_dev.name for ip_dev in ip_devs]"},{"line_number":416,"context_line":""},{"line_number":417,"context_line":"    def process_router(self, ri):"},{"line_number":418,"context_line":"        try:"},{"line_number":419,"context_line":"            self._process_router(ri)"},{"line_number":420,"context_line":"        except:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_0a00a732","line":417,"updated":"2014-06-05 17:49:51.000000000","message":"+1","commit_id":"bf81899203c070a7acadb3b09204e575afc54b55"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"b171bb019395bc72de197c5ac4b2a24d1a585b3a","unresolved":false,"context_lines":[{"line_number":414,"context_line":"        ip_devs \u003d ip_wrapper.get_devices(exclude_loopback\u003dTrue)"},{"line_number":415,"context_line":"        return [ip_dev.name for ip_dev in ip_devs]"},{"line_number":416,"context_line":""},{"line_number":417,"context_line":"    def process_router(self, ri):"},{"line_number":418,"context_line":"        try:"},{"line_number":419,"context_line":"            self._process_router(ri)"},{"line_number":420,"context_line":"        except:"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_8c2465b0","line":417,"updated":"2014-05-28 21:32:22.000000000","message":"You don\u0027t need such a method wrapper. I think you\u0027d be better off breaking down the method in manageable chunks, each of them dealing with exceptions they are supposed to expect.","commit_id":"bf81899203c070a7acadb3b09204e575afc54b55"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"adca2bb098c3516efcc7a64d6200d595c45cd6ae","unresolved":false,"context_lines":[{"line_number":417,"context_line":"    def process_router(self, ri):"},{"line_number":418,"context_line":"        try:"},{"line_number":419,"context_line":"            self._process_router(ri)"},{"line_number":420,"context_line":"        except:"},{"line_number":421,"context_line":"            LOG.exception(_(\"Failed to process router\"))"},{"line_number":422,"context_line":"            raise"},{"line_number":423,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_2afba347","line":420,"updated":"2014-06-05 17:49:51.000000000","message":"Also are all errors really fatal?  Seems like some maybe warnings or lower","commit_id":"bf81899203c070a7acadb3b09204e575afc54b55"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bba1f942d8538725113186bc4f8b3826c8fa6d8f","unresolved":false,"context_lines":[{"line_number":417,"context_line":"    def process_router(self, ri):"},{"line_number":418,"context_line":"        try:"},{"line_number":419,"context_line":"            self._process_router(ri)"},{"line_number":420,"context_line":"        except:"},{"line_number":421,"context_line":"            LOG.exception(_(\"Failed to process router\"))"},{"line_number":422,"context_line":"            raise"},{"line_number":423,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_0cc87121","line":420,"updated":"2014-05-28 09:23:59.000000000","message":"You should be specific about what you want to catch.\n\nhttp://stackoverflow.com/questions/10594113/bad-idea-to-catch-all-exceptions-in-python","commit_id":"bf81899203c070a7acadb3b09204e575afc54b55"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"d8573975a6d84b7e5144b7604ab99d6877cf768b","unresolved":false,"context_lines":[{"line_number":417,"context_line":"    def process_router(self, ri):"},{"line_number":418,"context_line":"        try:"},{"line_number":419,"context_line":"            self._process_router(ri)"},{"line_number":420,"context_line":"        except:"},{"line_number":421,"context_line":"            LOG.exception(_(\"Failed to process router\"))"},{"line_number":422,"context_line":"            raise"},{"line_number":423,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_f274f79d","line":420,"in_reply_to":"3ae8d1ca_0cc87121","updated":"2014-05-28 11:31:20.000000000","message":"In addition to that this log message doesn\u0027t give much benefit because it\u0027s still not clear of what has happened.","commit_id":"bf81899203c070a7acadb3b09204e575afc54b55"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"d8573975a6d84b7e5144b7604ab99d6877cf768b","unresolved":false,"context_lines":[{"line_number":504,"context_line":"                fip_statuses \u003d self.process_router_floating_ip_addresses("},{"line_number":505,"context_line":"                    ri, ex_gw_port)"},{"line_number":506,"context_line":"        except Exception:"},{"line_number":507,"context_line":"            # TODO(salv-orlando): Less broad catching"},{"line_number":508,"context_line":"            LOG.exception(_(\"Failed to process snat/dnat rules for router %s\"),"},{"line_number":509,"context_line":"                          ri.router_id)"},{"line_number":510,"context_line":"            # All floating IPs must be put in error state"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ae8d1ca_72af07e4","line":507,"updated":"2014-05-28 11:31:20.000000000","message":"It\u0027s really worth addressing this comment, instead of adding log message","commit_id":"bf81899203c070a7acadb3b09204e575afc54b55"}]}
