We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90c5723 commit 9eff912Copy full SHA for 9eff912
1 file changed
TablePro/Views/Connection/ConnectionFormView.swift
@@ -1111,11 +1111,15 @@ struct ConnectionFormView: View {
1111
} catch {
1112
await MainActor.run {
1113
isTesting = false
1114
- AlertHelper.showErrorSheet(
1115
- title: String(localized: "Connection Test Failed"),
1116
- message: error.localizedDescription,
1117
- window: window
1118
- )
+ if case PluginError.pluginNotInstalled = error {
+ pluginInstallConnection = testConn
+ } else {
+ AlertHelper.showErrorSheet(
+ title: String(localized: "Connection Test Failed"),
1119
+ message: error.localizedDescription,
1120
+ window: window
1121
+ )
1122
+ }
1123
}
1124
1125
0 commit comments