Change error log message when map or locationclient is null