Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Errors returned in the publish (grpc) response are ignored #1450

Closed
jcooklin opened this issue Dec 23, 2016 · 0 comments
Closed

Errors returned in the publish (grpc) response are ignored #1450

jcooklin opened this issue Dec 23, 2016 · 0 comments
Labels

Comments

@jcooklin
Copy link
Collaborator

If a grpc based plugin returns an error in the publish reply object the framework ignores the error and continues like it was a successful execution of the workflow.

The task given below should eventually go into a disabled state however currently the error is undetected when it's passed back in the reply object.

rand-file.yml
---
  version: 1
  schedule:
    type: "simple"
    interval: "1s"
  workflow:
    collect:
      metrics:
        /random/integer: {}
      publish:
        -
          plugin_name: test-file-publisher
          config:
            file: /tmp/rand-file.out
            return_error: true

before

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant