minor change to catch any exceptions in message processing