Fix a typo: don't goto the error label from inside the error handler.

refs #960