Skip to content

Commit

Permalink
Fix exception catching
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Jun 12, 2016
1 parent 51d0e98 commit 3dfe87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kappa/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def tail(self, attempt=0):
try:
LOG.debug('tailing function: %s', self.name)
return self.log.tail()
except Exception, e:
except Exception as e:
if attempt > 10:
return e

Expand Down

0 comments on commit 3dfe87a

Please sign in to comment.