Skip to content

Commit 8f66b28

Browse files
Potential fix for pull request finding 'Variable defined multiple times'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent f172556 commit 8f66b28

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

whatsapp/whatsapp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ async def execute(self, inputs: Dict[str, Any], context: ExecutionContext):
9393
})
9494
else:
9595
# Handle API errors or unexpected response structure
96-
error_msg = "Unknown error"
9796
if isinstance(response, dict):
9897
error_msg = response.get("error", {}).get("message", "Unknown error")
9998
else:

0 commit comments

Comments
 (0)