diff --git a/persper/analytics/analyzer2.py b/persper/analytics/analyzer2.py index ee272be3c20..945ee0807f8 100644 --- a/persper/analytics/analyzer2.py +++ b/persper/analytics/analyzer2.py @@ -115,8 +115,11 @@ def graph(self): if self._call_commit_graph is None: # retry 10 times when get graph from graph server for i in range(10): - ccg = self._graphServer.get_graph() - break + try: + ccg = self._graphServer.get_graph() + break + except Exception: + continue else: raise Exception('get graph is failed') self._call_commit_graph = ccg