diff --git a/python/src/mapreduce/base_handler.py b/python/src/mapreduce/base_handler.py index 8f77480d..17f358f4 100755 --- a/python/src/mapreduce/base_handler.py +++ b/python/src/mapreduce/base_handler.py @@ -128,7 +128,7 @@ def initialize(self, request, response): # pylint: disable=bare-except except: self._preprocess_success = False - logging.error( + logging.exception( "Preprocess task %s failed. Dropping it permanently.", self.request.headers["X-AppEngine-TaskName"]) self._drop_gracefully()