Added error log in label