Updated exception catch to include exception message.
fixed bug in sending error.