blob: 1dd3c62644703581b89fdfa759c283a831b13f94 [file] [log] [blame]
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package upload
import (
// Run generates and uploads reports, as allowed by the mode file.
// A nil Control is legal and uses the latest version of the module
// and the derault upload URL
// (presently
func Run(c *telemetry.Control) {
defer func() {
if err := recover(); err != nil {
log.Printf("upload recover: %v", err)