fix(mac): surface health errors instead of pending
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user