Fix error with missing error message