We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c98513f commit 3489b18Copy full SHA for 3489b18
1 file changed
whatsapp_api_client_python/response.py
@@ -12,7 +12,7 @@ def __init__(self, code: Optional[int], text: str):
12
if self.code == 200:
13
try:
14
self.data = loads(text)
15
- except:
+ except Exception:
16
self.data = "[]"
17
else:
18
self.error = text
0 commit comments