stop double-logging error traces (#369)
This commit is contained in:
parent
bd89bfed24
commit
fcb375ac76
@ -510,8 +510,6 @@ class Executor(object):
|
|||||||
import traceback
|
import traceback
|
||||||
trace = traceback.format_exc()
|
trace = traceback.format_exc()
|
||||||
logger.error("Exception: %s\n%s", str(e), trace)
|
logger.error("Exception: %s\n%s", str(e), trace)
|
||||||
for trace_line in trace.splitlines():
|
|
||||||
logger.error(trace_line)
|
|
||||||
#Notify this worker is done
|
#Notify this worker is done
|
||||||
self.will_terminate_state(current_state, current_state_id, 'Exception')
|
self.will_terminate_state(current_state, current_state_id, 'Exception')
|
||||||
current_state = None
|
current_state = None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user