fix(BRIDGE-21): missing panic handling

This commit is contained in:
Atanas Janeshliev
2024-04-26 13:24:02 +02:00
parent 8469e0a661
commit 1d972835ff
4 changed files with 72 additions and 2 deletions

View File

@ -30,6 +30,8 @@ import (
)
func (s *Service) IsTLSCertificateInstalled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) {
defer async.HandlePanic(s.panicHandler)
s.log.Info("IsTLSCertificateInstalled")
cert, _ := s.bridge.GetBridgeTLSCert()