177
// Skip endpoint lookup for system-internal operations.
178
if args.endpointName != commonnexus.SystemEndpoint {
179
>
// This happens when we accept the ScheduleNexusOperation command when the endpoint is not found in the registry as
executors.go
180
>
// indicated by the EndpointNotFoundAlwaysNonRetryable dynamic config.
181
>
// The config has been removed but we keep this check for backward compatibility.
182
>
if args.endpointID == "" {
183
handlerError := nexus.NewHandlerErrorf(nexus.HandlerErrorTypeNotFound, "endpoint not registered")
184
return e.saveResult(ctx, env, ref, nil, handlerError)