Spaces:
Running
Running
Check WP Messages
Browse files- cronjob_service.py +1 -0
cronjob_service.py
CHANGED
|
@@ -49,6 +49,7 @@ def send_whatsapp_notification(message: str):
|
|
| 49 |
from_=TWILIO_WHATSAPP_FROM,
|
| 50 |
to=ADMIN_WHATSAPP_NUMBER
|
| 51 |
)
|
|
|
|
| 52 |
return True
|
| 53 |
except Exception as e:
|
| 54 |
logger.warning(f"Notification failed (non-critical): {str(e)}")
|
|
|
|
| 49 |
from_=TWILIO_WHATSAPP_FROM,
|
| 50 |
to=ADMIN_WHATSAPP_NUMBER
|
| 51 |
)
|
| 52 |
+
logger.info(f"Sent WhatsApp notification: {message}")
|
| 53 |
return True
|
| 54 |
except Exception as e:
|
| 55 |
logger.warning(f"Notification failed (non-critical): {str(e)}")
|