renamed logging method to be clearer it sends exception to server