Skip to content

Refactor messageAttachment to return error of failed template #38

@nixwiz

Description

@nixwiz

Right now if templating fails an error is printed on STDOUT via fmt.printf, but there's no way to surface that to the caller of the function.

This will also require changes to sendMessage to catch the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions