Skip to content

Commit 0257351

Browse files
committed
add the message to the missing fishjam id error
1 parent 1fe2ff1 commit 0257351

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

fishjam/api/_fishjam_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
fishjam_url: str | None = None,
9191
):
9292
"""
93-
Create FishjamClient instance, providing the fishjam url and managment token.
93+
Create a FishjamClient instance, providing the fishjam id and management token.
9494
"""
9595
super().__init__(
9696
fishjam_id=fishjam_id,

fishjam/errors.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,6 @@ def __init__(self, errors):
6464

6565

6666
class MissingFishjamIdError(Exception):
67-
pass
67+
def __init__(self, message: str = "Missing Fishjam ID"):
68+
"""@private"""
69+
super().__init__(message)

0 commit comments

Comments
 (0)