Or maybe, this should be a warning and the above should log an error.