server now logs errors and sends text message when deactivated