From 5f7c73cd17cd25be41dc8a6db76e6d3ef7be3cc3 Mon Sep 17 00:00:00 2001 From: chengmo Date: Thu, 11 Jun 2020 14:25:08 +0800 Subject: [PATCH] fix hadle --- core/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/trainer.py b/core/trainer.py index eeadca80..060c6493 100755 --- a/core/trainer.py +++ b/core/trainer.py @@ -235,7 +235,7 @@ class Trainer(object): traceback.print_exc() print('Catch Exception:%s' % str(err)) sys.stdout.flush() - self.handle_processor_exception(status, context, err) + self.handle_processor_exception(context, err) sys.exit(type(err).__name__) -- GitLab