vpn: aggregate all import errors

- we are dumb about importing by just trying to import everythting
- that caused errors to not be represented correctly
- just aggregate them all and present them in toast details
- Better would be to detect the type of file being imported, but this is
  better than nothing
This commit is contained in:
bbedward committed 2026-01-07 13:22:56 -05:00
1 parent a205df1bd6
commit ec2b3d0d4b
2 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ Singleton {
}
importError = response.result.error || "Import failed";
ToastService.showError(importError);
ToastService.showError(I18n.tr("Failed to import VPN"), importError);
});
}