From d10db0aa62c51b9b90aef9b0db26ec9af161ad3f Mon Sep 17 00:00:00 2001 From: Aaron3S Date: Wed, 14 Jun 2023 20:38:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E8=A2=AB=E9=BB=91=E5=90=8D=E5=8D=95=E6=8B=A6=E6=88=AA=E5=90=8E?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=9B=B4=E6=96=B0=E7=8A=B6=E6=80=81=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ops/models/job.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ops/models/job.py b/apps/ops/models/job.py index b655fc095..7360838d7 100644 --- a/apps/ops/models/job.py +++ b/apps/ops/models/job.py @@ -452,6 +452,7 @@ class JobExecution(JMSOrgBaseModel): return cb except CommandInBlackListException as e: print(e) + self.set_error(e) except Exception as e: logging.error(e, exc_info=True) self.set_error(e)