Merge pull request #1087 from KennyDizi/main

Fix exception handling and remove unused import in Bitbucket server provider
This commit is contained in:
Tal
2024-08-03 12:18:12 +03:00
committed by GitHub

View File

@ -1,4 +1,3 @@
import json
from typing import Optional, Tuple
from urllib.parse import quote_plus, urlparse
@ -126,7 +125,7 @@ class BitbucketServerProvider(GitProvider):
self.repo_slug,
path,
commit_id)
except requests.HTTPError as e:
except HTTPError as e:
get_logger().debug(f"File {path} not found at commit id: {commit_id}")
return file_content