)]}'
{"monasca_agent/forwarder/api/monasca_api.py":[{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"1e0a639ed2957853c9cfd9169c84521c79645d83","unresolved":false,"context_lines":[{"line_number":155,"context_line":"                self._failure_reason \u003d \u0027Error sending message to the Monasca API: {0}\u0027.format(str(ex.message))"},{"line_number":156,"context_line":"        except Exception as ex:"},{"line_number":157,"context_line":"            log.exception(\"Error sending message to Monasca API. Error is {0}.\""},{"line_number":158,"context_line":"                          .format(str(ex.message)))"},{"line_number":159,"context_line":"            self._failure_reason \u003d \u0027The Monasca API is DOWN or unreachable\u0027"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"        return False"}],"source_content_type":"text/x-python","patch_set":1,"id":"7aa08908_d61aad17","line":158,"range":{"start_line":158,"start_character":26,"end_line":158,"end_character":50},"updated":"2016-06-16 23:36:16.000000000","message":"Do we really need this anymore? Won\u0027t it come from the log.exception?","commit_id":"74276a330ff56ee59d8fdd06ee1fb4b725db8d00"},{"author":{"_account_id":14273,"name":"Joe Keen","email":"joe.keen@hpe.com","username":"jkeen"},"change_message_id":"68ad0df5280c9ea6c61e8ffd946dee2c1aa6a698","unresolved":false,"context_lines":[{"line_number":155,"context_line":"                self._failure_reason \u003d \u0027Error sending message to the Monasca API: {0}\u0027.format(str(ex.message))"},{"line_number":156,"context_line":"        except Exception as ex:"},{"line_number":157,"context_line":"            log.exception(\"Error sending message to Monasca API. Error is {0}.\""},{"line_number":158,"context_line":"                          .format(str(ex.message)))"},{"line_number":159,"context_line":"            self._failure_reason \u003d \u0027The Monasca API is DOWN or unreachable\u0027"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"        return False"}],"source_content_type":"text/x-python","patch_set":1,"id":"7aa08908_e1d0bef9","line":158,"range":{"start_line":158,"start_character":26,"end_line":158,"end_character":50},"in_reply_to":"7aa08908_d61aad17","updated":"2016-06-17 02:27:31.000000000","message":"Yeah, we should get it from the log.exception itself.  I also wouldn\u0027t mind seeing an error message here that differentiates it from the HTTP exception above.","commit_id":"74276a330ff56ee59d8fdd06ee1fb4b725db8d00"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"0b1c305166c74637083f70a7a122a9ec98d91555","unresolved":false,"context_lines":[{"line_number":150,"context_line":"                self._resume_time \u003d time.time() + wait_time"},{"line_number":151,"context_line":"                log.info(\"Invalid token detected. Waiting %d seconds before getting new token.\", wait_time)"},{"line_number":152,"context_line":"            else:"},{"line_number":153,"context_line":"                log.error(\"HTTPException: error sending message to monasca-api.\")"},{"line_number":154,"context_line":"                self._failure_reason \u003d \u0027Error sending message to the Monasca API: {0}\u0027.format(str(ex.message))"},{"line_number":155,"context_line":"        except Exception:"},{"line_number":156,"context_line":"            log.exception(\"Error sending message to Monasca API.\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"5a9d85d2_a66e18c7","line":153,"range":{"start_line":153,"start_character":20,"end_line":153,"end_character":25},"updated":"2016-06-20 15:16:51.000000000","message":"I think we want a log.exception here as well. Since, it is not a 401, we need to know all about the exception","commit_id":"8b798221c21021082007e20c0f959dd12d9274e8"}]}
