The application crashes when opening it with invalid 'Extrato spreadsheet'
To Reproduce
Steps to reproduce the behavior:
Open an invalid 'Extrato spreadsheet', then quit the application
Open the application again
See error
Expected behavior
All the tabs should be displayed, with empty data
Screenshots
When the issue happens, the following message box is displayed:
Then, after clicking "OK", none of the main tabs are displayed.
Additional context
Also, when the issue happens, it is impossible to select a new spreadsheet unless you delete the '.env' file to restore the default state. Without this action, the application gets broken when you try to load new spreadsheets, raising the following exception:
Describe the bug
The application crashes when opening it with invalid 'Extrato spreadsheet'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All the tabs should be displayed, with empty data
Screenshots
When the issue happens, the following message box is displayed:
Then, after clicking "OK", none of the main tabs are displayed.
Additional context
Also, when the issue happens, it is impossible to select a new spreadsheet unless you delete the '.env' file to restore the default state. Without this action, the application gets broken when you try to load new spreadsheets, raising the following exception: