Your second sentence is not crystal-clear. I know that, at the time I was writing my comment that without looking at the code, and  seeing at the doc that your function will write the log. If we translate your sentence: "Cette erreur force à stopper l'action courante."
IMO, your second sentence is simply useless as it brings no value to the function. It is only an information for you, but as a developer... I don't really care :/