Added error reporting for messages to client app