mdomke / concourse-email-resource

A simple email resource for concourse CI
MIT License
3 stars 13 forks source link

unable to use _text in params as defined in README #3

Closed pivotal-jesse-alvarez closed 7 years ago

pivotal-jesse-alvarez commented 7 years ago

using default configuration:

  - put: send-email
    params:
      to: [user@domain.com]
      subject_text: Job info
      body_text: this is the body

Error:

Using dir /tmp/build/put
Logging payload to /tmp/tmpzek9pz52
Unable to extract 'subject' from 'params'

unexpected end of JSON input
mdomke commented 7 years ago

Sorry. I forgot to push the docker image after updating the repository. Could you please try again and report back if this is still an issue for you?

pivotal-jesse-alvarez commented 7 years ago

Success! Any thoughts on changing the error message to include the reason for failure? e.g. the original error message is a bit cryptic. Thank you.