Fix error handling message reference