change: remove unused sentry exception

This commit is contained in:
debugtalk
2022-04-22 23:45:16 +08:00
parent 3718036048
commit 24fcdfb418
2 changed files with 1 additions and 4 deletions

View File

@@ -6,7 +6,6 @@ from typing import Dict, List, Set, Text, Tuple
import jinja2
from loguru import logger
from sentry_sdk import capture_exception
from httprunner import __version__, exceptions
from httprunner.compat import (convert_variables, ensure_path_sep,
@@ -169,7 +168,6 @@ def format_pytest_with_black(*python_paths: Text):
)
[subprocess.run(["black", path]) for path in python_paths]
except subprocess.CalledProcessError as ex:
capture_exception(ex)
logger.error(ex)
sys.exit(1)
except OSError: