From 6f624a5039767820cffd41e2cb0fd3c33054d929 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 26 Mar 2023 00:53:06 +0000 Subject: [PATCH] Build(deps): Bump aiohttp from 3.8.3 to 3.8.4 Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.3 to 3.8.4. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.3...v3.8.4) --- updated-dependencies: - dependency-name: aiohttp dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- setup.cfg | 2 +- src/aiooss2/api.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 03f4a11..21ef481 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,7 +26,7 @@ package_dir= =src include_package_data = True install_requires = - aiohttp==3.8.3 + aiohttp==3.8.4 oss2==2.17.0 [options.extras_require] diff --git a/src/aiooss2/api.py b/src/aiooss2/api.py index 248f8e6..50a2b3a 100644 --- a/src/aiooss2/api.py +++ b/src/aiooss2/api.py @@ -238,7 +238,9 @@ def __init__( """ self.bucket_name = bucket_name.strip() if is_valid_bucket_name(self.bucket_name) is not True: - raise ClientError("The bucket_name is invalid, please check it.") + raise ClientError( + f"The bucket_name '{self.bucket_name}' is invalid, please check it." + ) super().__init__( auth, endpoint,