didFailWithError log now uses localizedDescription to prevent possible crash