log Error

private fun logError(exception: Exception)

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

Parameters

exception

: the exception occurred