Skip to content

Commit c34cee9

Browse files
fix mypy
1 parent ac56fe4 commit c34cee9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/payments/src/simcore_service_payments/core/errors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from pydantic.errors import PydanticErrorMixin
1+
from common_library.errors_classes import OsparcErrorMixin
22

33

4-
class _BaseAppError(PydanticErrorMixin, ValueError):
4+
class _BaseAppError(OsparcErrorMixin, ValueError):
55
@classmethod
66
def get_full_class_name(cls) -> str:
77
# Can be used as unique code identifier

services/payments/src/simcore_service_payments/services/stripe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _raise_as_stripe_error():
3434
yield
3535

3636
except HTTPStatusError as err:
37-
raise StripeRuntimeError from err
37+
raise StripeRuntimeError() from err
3838

3939

4040
def _handle_status_errors(coro: Callable):

0 commit comments

Comments
 (0)