kjk / dbworkbench

Database workbench for Mac and Windows
MIT License
5 stars 1 forks source link

Better handle disconnect errors #79

Open kjk opened 8 years ago

kjk commented 8 years ago

When a backend returns an error like serveJSONError: url: '/api/disconnect', err: 'invalid conn_id 4' we don't show anything and user is stuck forever on that screen. He would have to restart the app.

We should show a modal dialog that shows the error message and on dismissing the dialog we should go back to connection page.