Setting the Log.e only for the debug purposes