From f8d7e63afcfafb69cc0a42c489a73fd97772d989 Mon Sep 17 00:00:00 2001 From: deveco_test Date: Sat, 21 May 2022 16:01:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=A0=81=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: deveco_test --- extension/src/xdevice_extension/_core/environment/device.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/extension/src/xdevice_extension/_core/environment/device.py b/extension/src/xdevice_extension/_core/environment/device.py index 9c4851c..9ce6c1c 100644 --- a/extension/src/xdevice_extension/_core/environment/device.py +++ b/extension/src/xdevice_extension/_core/environment/device.py @@ -93,8 +93,6 @@ def perform_device_action(func): self.log.exception("error type: %s, error: %s" % ( error.__class__.__name__, error), exc_info=False) exception = error - if exception: - raise exception return device_action