Skip to content

Commit 82ba28f

Browse files
authored
Merge pull request #1 from rabbitix/fix-error
[fix] protobuf base dto error message
2 parents 54d1d50 + 6971c85 commit 82ba28f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

archipy/models/dtos/base_protobuf_dto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class BaseProtobufDTO(BaseDTO):
2424
def __init__(self, *args: Any, **kwargs: Any) -> None:
2525
# Add a check at runtime when someone tries to use the class
2626
if not PROTOBUF_AVAILABLE:
27-
raise RuntimeError("The 'protobuf' extra is not installed. ")
27+
raise RuntimeError("The 'grpc' extra is not installed.\n run `uv add 'archipy[grpc]'` to install.")
2828
super().__init__(*args, **kwargs)
2929

3030
@classmethod

0 commit comments

Comments
 (0)