)]}'
{"monasca_agent/forwarder/api/mon.py":[{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"88fa5b018efa41b98e04ee49984d6f159b431516","unresolved":false,"context_lines":[{"line_number":128,"context_line":"            self.mon_client.metrics.create(**kwargs)"},{"line_number":129,"context_line":"            return True"},{"line_number":130,"context_line":"        except monascaclient.exc.HTTPException as he:"},{"line_number":131,"context_line":"            if \u0027unauthorized\u0027 in str(he):"},{"line_number":132,"context_line":"                log.info(\"Invalid token detected. Getting a new token...\")"},{"line_number":133,"context_line":"                self._failure_reason \u003d \u0027Invalid token detected. Getting a new token from Keystone\u0027"},{"line_number":134,"context_line":"                # Get a new keystone client and token"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba7be1f8_e27f67de","line":131,"updated":"2015-03-02 23:34:40.000000000","message":"monascaclient.exc.HTTPException has a property http_status. It seems like it would be much better to check this for a 401 rather than count on a word in the message","commit_id":"490639f6a07a9a154ea5637af9b5ddc1ecfc7e98"}]}
