mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 01:41:24 -06:00
propagate plugin unavailable message to UI (#31560)
This commit is contained in:
parent
5773b8f28c
commit
a606a49cb2
@ -228,6 +228,10 @@ func (m *manager) CheckHealth(ctx context.Context, pluginContext backend.PluginC
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if errors.Is(err, ErrPluginUnavailable) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return nil, errutil.Wrap("failed to check plugin health", ErrHealthCheckFailed)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user