stop double-logging error traces (#369)

This commit is contained in:
JP Smith 2017-06-29 17:38:41 -04:00 committed by GitHub
parent bd89bfed24
commit fcb375ac76

View File

@ -510,8 +510,6 @@ class Executor(object):
import traceback
trace = traceback.format_exc()
logger.error("Exception: %s\n%s", str(e), trace)
for trace_line in trace.splitlines():
logger.error(trace_line)
#Notify this worker is done
self.will_terminate_state(current_state, current_state_id, 'Exception')
current_state = None