Added error to except for sending