alexandrehtrb / Pororoca

An API testing tool with support for HTTP/2 and HTTP/3. Alternative to Postman.
https://pororoca.io
Other
500 stars 38 forks source link

Show error dialog when imported collection or environment is invalid #35

Closed alexandrehtrb closed 2 months ago

alexandrehtrb commented 1 year ago

Currently, when an invalid collection or environment file is imported and its contents are invalid, no error message appears. It would be good to have an indication to the user that the imported file is invalid.

The logic would need to be added in else clauses of the TryImport... calls:

https://github.com/alexandrehtrb/Pororoca/blob/82889e79f6cef91438252ff42f3cd9662c3c9c03/src/Pororoca.Desktop/ExportImport/FileExporterImporter.cs#L250-L265

alexandrehtrb commented 2 months ago

Solved in release 3.5.0