-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better handling of start-up errors #93
Comments
I've never had these errors come up, but I guess it should be rather easy to reproduce, particularly given how much information you provided. And personally I'm a fan of big aggressive ugly error message popups as they are more likely to be reported than silent console.logs - as long as they're fixed rapidly |
It seems that the error bubbles no longer appear. But the errors when attempting to load a graph view of a repo yet to be detected by vscode git remains:
*** I actually also got errors bubbles too *** Mentioning #71, as this error is quite similar as the ones that pop when the repositories are not loaded yet A simple solution I suggest:
Anyway this issue is not a deal breaker, just letting you know it still happens. |
Yes, since the repos come in one after another, the saved-as-selected one might not be present, resulting in a non-resolvable conflict between index and actual repo path. This means that you'll see one repo selected above but the data below for another one. Fixing this requires substantial changes to the repo management. I believe the Git extension (which GitLG currently depends on) doesn't emit an "all repos have been loaded" event unfortunately, either. I'll have a look soon I can't really estimate this yet. |
Maybe this workaround is simple to add and good enough for the time being |
There are a bunch of errors when you open the view before vscode source control has loaded any git repo.
Or when you open (restoring last selected repo?) and the selected repo is not loaded yet.
This loading process can be fast with a few repos as in the following pic, but for large workspaces it can be quite slow.
Also happens a lot when the extension editor is open when you close vscode and then later restore the workspace along with all the editors (this is when it always occurs to me, and quite often)
vscode error bubbles
console log
Feature request
Probably these error messages are useful for unexpected errors during usage, but there could be a way to silent them when clearly the issue is that the source control repos are not loaded yet. Or maybe directly avoid doing the queries when so.
Basically Ive never seen them pop up other than in the explained situations.
Best regards!
The text was updated successfully, but these errors were encountered: