Added error in log