fix(mac): surface health errors instead of pending
parent
81db44f584
commit
de70d82cea
|
|
@ -136,6 +136,9 @@ final class HealthStore: ObservableObject {
|
|||
}
|
||||
|
||||
var state: HealthState {
|
||||
if let error = self.lastError, !error.isEmpty {
|
||||
return .degraded(error)
|
||||
}
|
||||
guard let snap = self.snapshot else { return .unknown }
|
||||
if !snap.web.linked { return .linkingNeeded }
|
||||
if let connect = snap.web.connect, !connect.ok {
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ export function buildProgram() {
|
|||
|
||||
program
|
||||
.name("clawdis")
|
||||
.description("Messaging relay CLI for WhatsApp Web and Telegram Bot API")
|
||||
.description("")
|
||||
.version(PROGRAM_VERSION);
|
||||
|
||||
const formatIntroLine = (version: string, rich = true) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue