Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Show error for JS plugin watcher #2776

Merged
merged 2 commits into from
Aug 27, 2021

Conversation

xtreme-vikram-yadav
Copy link
Contributor

@xtreme-vikram-yadav xtreme-vikram-yadav commented Aug 18, 2021

What this PR does / why we need it:

  • Shows actual errors when JS plugin watcher fails to watch directories for plugins.
  • Shows list of directories successfully being watched.
  • Fixes octant such that it does not fail to start when plugin startup fails.
  • Logs plugin start up errors.

Which issue(s) this PR fixes

Copy link
Contributor

@GuessWhoSamFoo GuessWhoSamFoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you renamed the colliding variable name and import event on https://github.com/vmware-tanzu/octant/blob/master/pkg/plugin/manager.go#L395 ?

@xtreme-vikram-yadav
Copy link
Contributor Author

Can you renamed the colliding variable name and import event on https://github.com/vmware-tanzu/octant/blob/master/pkg/plugin/manager.go#L395 ?

@GuessWhoSamFoo how did you even spot that from this diff? Nice!!

- Do not error out from octant when plugin startup fails

Signed-off-by: Vikram Yadav <[email protected]>

vmware-archive#2796
@GuessWhoSamFoo GuessWhoSamFoo merged commit d01da3d into vmware-archive:master Aug 27, 2021
@xtreme-vikram-yadav xtreme-vikram-yadav deleted the issue-1273 branch August 30, 2021 00:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin watcher error should provide better information.
3 participants