Added error to log