From 3dfe87a2d7096b3800915b719a7dab8af14994c7 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 12 Jun 2016 02:19:00 -0400 Subject: [PATCH] Fix exception catching --- kappa/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kappa/function.py b/kappa/function.py index a81e0e0..2940930 100644 --- a/kappa/function.py +++ b/kappa/function.py @@ -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