diff --git a/client/lib/lib.go b/client/lib/lib.go index 0a798fc..2c7aec7 100644 --- a/client/lib/lib.go +++ b/client/lib/lib.go @@ -603,7 +603,7 @@ func verifyBinaryMac(binaryPath string, downloadData shared.UpdateInfo) error { } else if runtime.GOOS == "darwin" && runtime.GOARCH == "arm64" { err = downloadFile(unsignedBinaryPath, downloadData.DarwinArm64UnsignedUrl) } else { - panic("TODO: better error message") + err = fmt.Errorf("verifyBinaryMac() called for the unhandled branch GOOS=%s, GOARCH=%s", runtime.GOOS, runtime.GOARCH) } if err != nil { return err