Added some error feedback.