The importance of error handling