Fix error message formatter.
Remove unnecessary return.