Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Refactor exception writing method #73

Closed
yanghua opened this issue Sep 11, 2024 · 1 comment
Closed

Core: Refactor exception writing method #73

yanghua opened this issue Sep 11, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@yanghua
Copy link
Collaborator

yanghua commented Sep 11, 2024

Currently:

except tos.exceptions.TosClientError as e:
            raise e
        except tos.exceptions.TosServerError as e:
            raise e

target:

except (TosClientError, TosServerError) as e:
                    raise e
@yanghua yanghua self-assigned this Sep 11, 2024
@yanghua yanghua added the enhancement New feature or request label Sep 11, 2024
@yanghua
Copy link
Collaborator Author

yanghua commented Sep 11, 2024

#74

@yanghua yanghua closed this as completed Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant