Removed some error handling from publishMessage, extra system out's.