diff --git a/backend/utils/ssl/client.go b/backend/utils/ssl/client.go index 69a5d5a70..ce1d985ba 100644 --- a/backend/utils/ssl/client.go +++ b/backend/utils/ssl/client.go @@ -194,11 +194,11 @@ func (p *manualDnsProvider) CleanUp(domain, token, keyAuth string) error { func (c *AcmeClient) GetDNSResolve(domains []string) (map[string]Resolve, error) { core, err := api.New(c.Config.HTTPClient, c.Config.UserAgent, c.Config.CADirURL, c.User.Registration.URI, c.User.Key) if err != nil { - panic(err) + return nil, err } order, err := core.Orders.New(domains) if err != nil { - panic(err) + return nil, err } resolves := make(map[string]Resolve) resc, errc := make(chan acme.Authorization), make(chan domainError) diff --git a/frontend/src/components/status/index.vue b/frontend/src/components/status/index.vue index 8f8adddb5..6955d60c7 100644 --- a/frontend/src/components/status/index.vue +++ b/frontend/src/components/status/index.vue @@ -25,7 +25,7 @@ const getType = (status: string) => { case 'error': return 'danger'; case 'stopped': - return 'warning'; + return 'danger'; default: return ''; }