Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -98,9 +98,9 @@ class Function(object): | ... | @@ -98,9 +98,9 @@ class Function(object): |
98 | LOG.debug('tailing function: %s', self.name) | 98 | LOG.debug('tailing function: %s', self.name) |
99 | log_result = self.log.tail() | 99 | log_result = self.log.tail() |
100 | return log_result | 100 | return log_result |
101 | - except Exception, e: | 101 | + except Exception, e: |
102 | if attempt > 10: | 102 | if attempt > 10: |
103 | - return e | 103 | + return e |
104 | else: | 104 | else: |
105 | time.sleep(attempt) | 105 | time.sleep(attempt) |
106 | return self.tail(attempt+1) | 106 | return self.tail(attempt+1) | ... | ... |
-
Please register or login to post a comment