diff --git a/sub/clashService.go b/sub/clashService.go index ae5bb6d..ae5c353 100644 --- a/sub/clashService.go +++ b/sub/clashService.go @@ -92,6 +92,9 @@ func (s *ClashService) GetClash(subId string) (*string, []string, error) { } result, err := s.ConvertToClashMeta(outbounds) + if err != nil { + return nil, nil, err + } resultStr := othersStr + "\n" + string(result) updateInterval, _ := s.SettingService.GetSubUpdates()