add try catch to send sms action