Importing: Give a clearer error message on importing an invalid config
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
@@ -41,7 +41,7 @@ class TunnelImporter {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
errorPresenterType.showErrorAlert(title: tr("alertUnableToImportTitle"), message: tr("alertUnableToImportMessage"),
|
||||
errorPresenterType.showErrorAlert(title: tr("alertBadConfigImportTitle"), message: tr(format: "alertBadConfigImportMessage (%@)", fileName),
|
||||
from: sourceVC, onPresented: completionHandler)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user