Skip to content

[BotEngine] notify swallows errors #2027

@Fabilin

Description

@Fabilin

TOCK provides the helper method ai.tock.bot.definition.notify(...), which is used to send an asynchronous push notification to an open conversation. However, this method returns no status and swallows all exceptions, meaning there is no way for the caller to know whether the operation succeeded or not. It would be helpful to provide a suspending variant which returns a result for the operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions