Check the CloudKit schema when packaging and show broken iCloud sync
This commit is contained in:
@@ -210,6 +210,9 @@ func (m *Manager) listClients(ctx context.Context) (string, error) {
|
||||
fmt.Fprintf(b, "last action %s ago", now.Sub(*r.LastActionAt).Round(time.Second))
|
||||
}
|
||||
fmt.Fprintf(b, ", connected %s ago, app built from %s", now.Sub(r.ConnectedAt).Round(time.Second), r.Commit)
|
||||
if r.Sync != nil && !r.Sync.Ok {
|
||||
fmt.Fprintf(b, ", iCloud sync failing since %s ago: %s", now.Sub(r.Sync.At).Round(time.Second), *r.Sync.Error)
|
||||
}
|
||||
if i == 0 && r.LastActionAt != nil {
|
||||
b.WriteString(" (most recently active)")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user