Closed maheshsattala closed 1 month ago
The updates across various modules enhance message handling, improve error logging, and streamline test cases. The core functionalities remain intact while accommodating new message formats in the WhatsappHandler
and refining exception management. The changes also focus on improving code readability and consistency, supporting a more robust development environment and clearer integration tests.
Files | Change Summary |
---|---|
kairon/async_callback/processor.py |
Modified exception handling in async_callback for clearer logging of errors without altering flow. |
kairon/chat/handlers/channels/whatsapp.py |
Enhanced send_message_to_user for broader message support, restructuring message handling logic. |
tests/integration_test/services_test.py , tests/unit_test/callback_test.py , tests/unit_test/data_processor/data_processor_test.py |
Minor formatting changes in tests for improved readability without affecting logic. |
sequenceDiagram
participant User
participant WhatsappHandler
participant ConverterFactory
User->>WhatsappHandler: Send Message
WhatsappHandler->>ConverterFactory: Convert Message
ConverterFactory-->>WhatsappHandler: Return Converted Message
WhatsappHandler->>User: Send Response
🐰 "In the code, a hop and a skip,
With clearer logs, we take a trip!
Messages dance in formats new,
Tests now shine, all bright and true!
A leap of joy, a swipe of cheer,
In rabbit holes, we hold them dear!" 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
custom json callback change and fixed tests.
Summary by CodeRabbit
New Features
Bug Fixes
Tests