Added error log for yamj core