fixing logging for getLocation errors