Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add url to failureEvent payload #929

Open
T04435 opened this issue Dec 8, 2023 · 0 comments
Open

Add url to failureEvent payload #929

T04435 opened this issue Dec 8, 2023 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@T04435
Copy link

T04435 commented Dec 8, 2023

Is your feature request related to a problem? Please describe.
After reading handling failures docs, I see there is a no direct way to access the failure. I want to send a notification with a link to the failure function page IE: https://app.inngest.com/env/[env]/functions/[fn-name]/logs/[event-id], for now I'll try to build the url.

Describe the solution you'd like
include the url and OR env to inngest in the payload of failure event.

Describe alternatives you've considered
Build the url with the existing data.

Additional context
According to docs example the environment is not available in the event payload, so not able to build the URL.

@T04435 T04435 added the feature New feature or request label Dec 8, 2023
@T04435 T04435 changed the title Add url to failureEvent data Add url to failureEvent payload Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants