Throw error if no traces