`return` + logging an error