debug: surface ssh error details in voice test

This commit is contained in:
Peter Steinberger
2025-12-07 15:07:56 +01:00
parent a3bf0d6002
commit 76559b352b
2 changed files with 2 additions and 2 deletions

View File

@@ -257,7 +257,7 @@ struct DebugSettings: View {
self.debugSendStatus = "Sent via \(config.target). Await WhatsApp reply."
self.debugSendError = nil
case let .failure(error):
self.debugSendStatus = nil
self.debugSendStatus = "Target: \(config.target)" + (config.identityPath.isEmpty ? "" : " · identity: \(config.identityPath)")
self.debugSendError = error.localizedDescription
}
}