mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 23:32:02 +00:00
Merge pull request openziti/fabric#160 from openziti/only-warn-on-invalid-event-types
Only warn if subscription references invalid type, to allow better cr…
This commit is contained in:
@@ -89,8 +89,7 @@ func (eventHandlerConfig *eventHandlerConfig) processSubscriptions(handler inter
|
||||
for k := range eventTypes {
|
||||
validTypes = append(validTypes, k)
|
||||
}
|
||||
|
||||
return errors.Errorf("invalid event type %v. valid types are %v", eventType, strings.Join(validTypes, ","))
|
||||
logger.Warnf("invalid event type %v. valid types are %v", eventType, strings.Join(validTypes, ","))
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user