added logging for create location error