log Error

private fun logError(exception: Exception)

Method to print a log of an exception occurred during a request sent if the debugMode is enabled

Parameters

exception

The exception occurred