Soumik555 commited on
Commit
76b452e
·
1 Parent(s): 7f0f71d

Check WP Messages

Browse files
Files changed (1) hide show
  1. 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)}")