Make missing plugin repo errors more informative#4087
Make missing plugin repo errors more informative#4087dmytrovoytko wants to merge 3 commits intomicro-editor:masterfrom
Conversation
|
I think these fmt.Fprintf(out, "Skipped: %s\n", pr)
fmt.Fprintf(out, "Reason: XYZ (Status Code: %d)\n", statusCode)?
Something to consider for your? |
|
This is quite similar to one of my (forgotten) PRs.
The upstream for all those 3 are all gone/archived :( It's an annoying error but any plugin actions are not affected (Apart from interacting from these 3 plugins ofc). |
Oh, damn. |
|
To be fair, my PR was also doing something else. We can merge this and I can adjust my PR. My PR was also trying to do a reasonable timeout such that a git repo with very slow/unstable connection (notabug was one of them I believe, potentially codeburg as well) won't block the rest of the plugins. |
Now it would look like this (better, thanks!) |
Thank you for this great editor!
Please consider this update to handle missing plugin repo errors better.
It addresses #1276
Plugins in official channel are ok now (may change someday), but 3 plugins of unofficial channel are missing and it shows up as strange messages while running
micro -plugin availableor other plugin commands:Instead it would show up like this: