mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-03 05:21:27 +08:00
change: remove unused sentry exception
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user