If we're just logging the error in either branch, why branch at all?